So, imagine an egg , it explodes when you click it
Now imagine that the egg is inside a transparent box (a transparent sprite is on top of it), when you try to click the egg, you’re clicking the transparent box instead so you can’t make the egg explode anymore
What if it was possible to click an object despite being under another object on the z order by giving the superior object an “ignored by mouse /touch” behavior
Here’s some potential benefits from such a behavior:
- objects used as vfx
or decorations
won’t interfere with the game
- interactive hidden objects