Get wich touch is touching

Discussion and feedback on Construct 2

Post » Fri Oct 23, 2015 2:07 pm

I have 2 sprites: A an B that moves around screen.
I touch one (0) right hand and another (1) left hand.
when I touch the B, I need to know the position of my touch.

I just get it if the touch is the first one (0).

How can I get it?
With "is touching", can I pick each touch?
B
18
S
4
G
1
Posts: 143
Reputation: 1,868

Post » Fri Oct 23, 2015 4:07 pm

Try this:
how-do-i_f147

They help people over there with "How do I " questions. You get pretty fast responses too.
B
29
S
8
G
4
Posts: 767
Reputation: 5,985

Post » Fri Oct 23, 2015 4:13 pm

Try "System-> Compare two values"

Is touching
Touch.Index = 0
else
Touch.Index = 1
B
16
S
2
G
1
Posts: 18
Reputation: 1,152


Return to Construct 2 General

Who is online

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