system.setTapDelay()

Type Function
Library system.*
Return value none
Revision 2017.3060
Keywords tap delay
See also Tap/Touch/Multitouch (guide)

Overview

The delay time between when a tap is detected and when the tap event is delivered. By default, this time is 0.

This is useful for distinguishing between single tap and double tap events. Without a delay, all taps are interpreted as single tap events.

Syntax

system.setTapDelay( delayTime )
delayTime (required)

Number. The delay time in seconds (not milliseconds).