I have 2 overlapping sprites, I only want the on object clicked to fire for the top most one, currently it fires for every object under the mouse.
+ Mouse: On Left button Clicked on Sprite
+ Sprite: Pick top instance
-> Sprite: Set angle to 45 degrees
+ Mouse: On Left button Clicked on Sprite + Sprite: Pick top instance -> Sprite: Set angle to 45 degrees
It's not so clear, can you explain?
I have 2 events (each sprite has one) and I want only one event to fire if I click on the top sprite
Develop games in your browser. Powerful, performant & highly capable.
Yes it is just one event: