resetMovement() Resets the movementX and movementY properties. Use in your update handler after retrieving the values.
y : number The vertical coordinate of the Pointer. This value is automatically scaled based on the game scale.
x : number The horizontal coordinate of the Pointer. This value is automatically scaled based on the game scale.
game : Phaser.Game A reference to the currently running game
[readonly] worldX : number Gets the X value of this Pointer in world coordinates based on
isMouse : boolean If the Pointer is a mouse or pen / stylus this is true, otherwise false.
dirty : boolean A dirty pointer needs to re-poll any interactive objects it may have been over, regardless if it has moved or not
clientX : number The horizontal coordinate of the Pointer within the application's client area at which the event occurred (as
rawMovementY : number The vertical raw relative movement of the Pointer in pixels since last event.
middleButton : Phaser.DeviceButton If this
Page 3 of 7