How can i distinguish between one tap and a double tap? If i use the iPhoneTouch.tapCount Variable it counts the first tap and then the second tap. So if i have somthing like that(pseudocode) :
yes thats clear… and thats exactly the problem… do you tested this code? if i make a double tap first “single tap” is printed and then “double tap” is printed.
You’ll have to add in some timer code with that example, so if you combine the suggestions above this should work. The problem is that there is no clear definition of a double tap. You need to figure out how long you want to wait before it is two single taps.
Sorry, Ive been busy at work. If your going to put these statements into the same script then I think you need to change this line here for a DoubleTap :