Phaser API Documentation

  Version: 
setPollRate(value)

Description:

Sets the poll rate value. This is the amount of time that should have elapsed before a pointer will be polled again. See the setPollAlways and setPollOnMove methods.

Parameters:

name type description
value number

The amount of time, in ms, that should elapsed before re-polling the pointers.

Returns:
Description:

This InputPlugin object.

Since: 3.0.0