Jump to content

click event on child sprite


Tzelon
 Share

Recommended Posts

Hey all,

I have a background sprite with drag event, he have one sprite child with click event.
but when I click the child nothing happens and when I remove the drag event the click event works 

I'm probably do something basic wrong, please help

http://jsfiddle.net/z8f7c13r/2/

What I'm trying to do ?

I saw this tutorial Draggable Map and I want to attach to the map more sprites that can be clicked on.

Thanks,

Tzelon Machluf

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...