Tell which one is clicked

Get help using Construct 2

Post » Fri Aug 07, 2015 12:59 am

I have a number of square sprites on screen arranged in a grid.
The number of squares may vary from say 1 to 50.
When you click a square I want this to pass a number variable.

Is it possible to achieve this without creating a touch event for each sprite?
B
9
S
3
Posts: 146
Reputation: 1,150

Post » Fri Aug 07, 2015 1:26 am

On sprite touched - set sprite.variable =number

The action will only take place with regards to the one you clicked
B
87
S
44
G
16
Posts: 1,009
Reputation: 17,946


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 4 guests