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
395
S
233
G
88
Posts: 24,376
Reputation: 193,842


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 3 guests