Phaser API Documentation

dragTimeThreshold: number


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.

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