Pressed - and two overlapping actor
stefdelec
Member, PRO Posts: 146
Hi,
I have a full screen button (A) and a small button(B). When player press the small button I don't want the full scree button to be activated. See what I mean.
A trigger a
B trigger b
When B is pressed, it triggers b only.
Am I clear? Any idea?
Thanks
Stéphane.
Comments
Demo attached
Hum well done. I was thinking to do a lot more complex (fun?) code:
if y mouse.position < ax+b...(it was in the bottom corner).
Thanks!
I always prefer simple code myself . . . here's an even simpler way to do the same thing (attached).
Here is a more complex (fun?) implementation. It takes care of any number of overlapping actors/buttons. The top button pressed is always triggered.