In my AndEngine-based game there are a few sprites on the scene. One sprite acts as a surface and the rest of them are placed on top of this surface. I want to take unique actions whenever any of the these sprites is touched (the surface as well as the sprites on top of it). When I attach use registerTouchListerner for the surface sprite the Touch Listener does not work for any other sprite on top of it. Touching the sprites on top triggers the event, but it thinks that the surface sprite has been touched.
When I remove the touch listener from the surface it can successfully responds to touch event for the rest of the sprites on top.
So, does the AndEngine allow to attach OnAreaTouch listener to sprites on the top layer when the bottom layer sprite has already been attached to a touch listener?
(OnSceneTouched event cannot be used, as the 'surface' sprite only occupies bottom half of the screen and not the complete scene background)