LoginLogin
Nintendo shutting down 3DS + Wii U online services, see our post

Single tap input

Root / Programming Questions / [.]

ChaseCZCreated:
I know how to use the touch screen and stuff, but how to make the touch screen react when i TAP on a specified spot or sprite. It always reacts even if i slide over it. Can somebody help me, please?

Check if the time was 0 on the previous frame:
WHILE 1
 OLDTIME=TIME
 TOUCH OUT TIME,X,Y
 IF OLDTIME==0 && TIME>0 THEN PRINT "TAP"
WEND

Thanks