if two sprites are partially overlapping how can I make a tap event that only destroys the top one if that is the one that is tapped?
Develop games in your browser. Powerful, performant & highly capable.
If they're the same object type, add "Pick top instance" from your sprite's conditions to the "On tap" event.
Thank you very much!!!!!
But what if they are not the same object type?
Put any objects you want to destroy with taps into a family, then change your event to use that family instead of the sprites.
Thanks again!
This was a huge help for me