Phaser API Documentation

  Version: 
dragTimeThreshold: number

Description:

The amount of time, in ms, a pointer has to be held down before it thinks it is dragging.

The default polling rate is to poll only on move so once the time threshold is reached the drag event will not start until you move the mouse. If you want it to start immediately when the time threshold is reached, you must increase the polling rate by calling setPollAlways or setPollRate.

Type:
number
Default: 0
Since: 3.0.0
Source: src/input/InputPlugin.js (Line 257)