Hello, I have two imagesprites in a canvas in a way that the first one (the smaller) overlaps partially with the second one (the larger).
I have set z=2 for the smaller and z=1 for the larger, so that the smaller is always drawn on top.
Everything fine until this point. However, when I tap on the screen, both sprites respond to the TouchDown event at the same time. I would expect that only the sprite on top would process the event. Also I wonder if the App Inventor engine calls the TouchDown function of the sprites in a specific order which depends on the z coordinate, or is just randomly.
Any hint on how could I accomplish that only one the upper-sprite TouchDown function is executed?
Thank you.