How do I reset other sprites' instance variable

Get help using Construct 2

Post » Thu Aug 10, 2017 4:43 pm

Hi,
I have 10 sprite instances and they have "choose" instance variable, which is 0 value.
When I touch one of them, "choose" instance var becomes "1" and I can move it to the target.
Everything is okay up to here..
But I want to know this:

Let's say I touched one sprite instance and it gets the value"1", but later I change my mind and I want to move an another sprite instance.

How can I reset previous one's value to "0"when I touch the new one?

Any way?
B
15
S
9
G
2
Posts: 24
Reputation: 2,425

Post » Thu Aug 10, 2017 8:31 pm

B
33
S
18
G
28
Posts: 2,493
Reputation: 20,950

Post » Fri Aug 11, 2017 2:40 am

99Instances2Go wrote:https://www.dropbox.com/s/wvobrac95gmaog0/TouchThis%26That.capx?dl=0


Thanks great
B
15
S
9
G
2
Posts: 24
Reputation: 2,425


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 33 guests