Phaser API Documentation



A Pointer has been pressed down onto the Scene.

If this Constraint doesn't have an active Pointer then a hit test is set to run against all active bodies in the world during the next call to update. If a body is found, it is bound to this constraint and the drag begins.


name type description
pointer Phaser.Input.Pointer

A reference to the Pointer that was pressed.

Since: 3.0.0