Hi, everyone!
I ran into a problem with the image.
If I click in the red circle, pressing is not transmitted sprite 2 , only sprite 3 (as I understand this is due to the fact that the sprite is drawn 3 later than sprite 2)
How can I solve this problem?

P.S. I'm from Russia and use Google Translate to talk to you, take my apologize
Comments
Quick solution would be to scale down the image, when hit testing it, like:
Author of Learn Lua for iOS Game Development from Apress ( http://www.apress.com/9781430246626 )
Cool Vizify Profile at https://www.vizify.com/oz-apps
Website: http://www.castlegateinteractive.com
https://play.google.com/store/apps/developer?id=Castlegate+Interactive
https://github.com/gideros/gideros
https://www.youtube.com/c/JohnBlackburn1975