Touch: On tap object VS on touched object

Get help using Construct 2

Post » Sat Sep 26, 2015 9:01 am

Hi

What is the difference between "on tap object" (Gesture) and "on touched object" (Touch)?
Can't find it in the manual.
Which should i use to check if a user "click on a button"?

Thank you
B
15
S
5
Posts: 23
Reputation: 1,141

Post » Sat Sep 26, 2015 9:19 am

Tap is equal to Keyboard Key Pressed condition;
Touch is equal to Keyboard Key Down condition.

You should probably use tap for a button.
Ba-dum Tsss!
B
11
S
2
G
1
Posts: 45
Reputation: 757

Post » Sat Sep 26, 2015 9:42 am

Ok. Thank you very much.
B
15
S
5
Posts: 23
Reputation: 1,141

Post » Thu May 11, 2017 8:20 am

It is what NicotineLL said. I just want to clear it up a small bit.

It also depends on what you want.

Touch will activate what is touched as soon as it is touched on touch down.

Tap will activate what is touched if touch down and touch up happens on the object within a set amount of time.
You can touch down on button and slide finger off and nothing will happen.
B
65
S
37
G
13
Posts: 240
Reputation: 12,703


Return to How do I....?

Who is online

Users browsing this forum: MassimoF and 21 guests