Hi. In my apps I encountered a problem with Sprites behind other sprites or tiled backgrounds. I use them to hide scrolling elements/text behind the logo and have usually on top and bottom a tiled background on top layer. Now the problem is if a button/sprite is behind it clicks are still recognized. So I added a check for "sprite is overlapping background" before a link is executed. But now if a big image is only a few pixels behind the background no clicks are recognized anymore. Does anyone know a good solution for this? So that the visible part of a sprite is clickable (open link/page etc.) and the invisible part behind another object is not reacting to clicks or touch.
As a small workaround to show if a link is active I added another sprite on top to show if the link can be clicked but this is not a great solution.
Image not Clickable (few pixels behind the tiled background on top):