Just a demo of how touching a sprite is still detected even if it is behind another sprite. Click on the green block to bring the apple forward or hide it again. The apple is hidden by putting it back a layer but ghosting the sprite would work as well.