I'm building a game where a bunch of sprites sometimes bunch up on the same location, whenever I touch a sprite that it on the front of every sprite in that specific location, all sprites behind him also triggers touch. How do I prevent this from happening.
The game is like a shooting gallery, I only want the front sprite to trigger touch.