Get coordinate from Touch Object

Discussion and feedback on Construct 2

Post » Fri Nov 11, 2011 4:32 pm

Hi...
I'm sorry if it's a stupid question, but I couldn't find anywhere how to get the coordinate from the Touch object.
Like the coordinate of the mouse cursor...

I'm sure it's there... but where ?
B
12
S
2
G
5
Posts: 73
Reputation: 3,570

Post » Fri Nov 11, 2011 5:02 pm

It has X and Y expressions just like the Mouse object. e.g. Mouse.X and Touch.X. It should show up in the floating expressions panel like it does with Mouse as well.Ashley2011-11-11 17:03:03
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468


Return to Construct 2 General

Who is online

Users browsing this forum: Colludium, Lof and 13 guests