How do I stop mouse click propagation?

Get help using Construct 2

Post » Mon Apr 06, 2015 10:48 pm

When I click on a Troop that is sitting on a Terrain tile, the mouse click fires for the Troop then for the Terrain. They have completely different click events and I don't want them both happening. How can I stop the click event propagation? Do I have to hack this with a global variable?
B
13
S
4
Posts: 280
Reputation: 1,573

Post » Mon Apr 06, 2015 11:23 pm

Yes, most methods involve a variable.
Image ImageImage
B
165
S
49
G
147
Posts: 8,045
Reputation: 96,582


Return to How do I....?

Who is online

Users browsing this forum: Carlafnt, dokthor, marcoscodas, mtnboy22, MushroomKingdomr and 8 guests