Hi
I’ve Stack of Object at the same position but sorted by the sorted layer order with each one having collider i.e BoxCollider2D.
The Problem I’m facing is when i’m running OnMouseDown on each object and when i press click on object it doesn’t work properly
some time the object I’m clicking not work but the one which is below that object trigger the OnMouseDown() method.
Any help will be appreciated.
Thanks.
Why would you have a stack of objects at the same position? And can you provide some code?