How do I prevent click events from bottom layers

Get help using Construct 2

Post » Wed Apr 16, 2014 3:51 pm

Hi guys,

I have 2 layers, in each one there are one object. Both objects have a mouse on click event and the object in the top layer is above the other one. When I click in the object that is above, it triggers the 2 events.

How do I trigger only the event of the object in the top layer?

Thanks.
B
2
Posts: 2
Reputation: 154

Post » Wed Apr 16, 2014 3:57 pm

I just resolved it just adding in the event of the bottom layer object another condition that doesn't allow trigger the event if the mouse is over the object in the top layer.

If there is another solution, please tell me!

Thanks
B
2
Posts: 2
Reputation: 154


Return to How do I....?

Who is online

Users browsing this forum: MoscowModder, Yahoo [Bot] and 6 guests