Phaser API Documentation

  Version: 
setPollAlways()

Description:

Sets the Pointers to always poll.

When a pointer is polled it runs a hit test to see which Game Objects are currently below it, or being interacted with it, regardless if the Pointer has actually moved or not.

You should enable this if you want objects in your game to fire over / out events, and the objects are constantly moving, but the pointer may not have. Polling every frame has additional computation costs, especially if there are a large number of interactive objects in your game.

Returns:
Description:

This InputPlugin object.

Examples:
Since: 3.0.0