Pointer#resetMovement()
  • References/Game Development/Phaser/Input/Pointer

resetMovement() Resets the movementX and movementY properties. Use in your update handler after retrieving the values.

2025-01-10 15:47:30
Pointer#forwardButton
  • References/Game Development/Phaser/Input/Pointer

forwardButton : Phaser.DeviceButton If this

2025-01-10 15:47:30
Pointer#rawMovementX
  • References/Game Development/Phaser/Input/Pointer

rawMovementX : number The horizontal raw relative movement of the Pointer in pixels since last event.

2025-01-10 15:47:30
Pointer#pageY
  • References/Game Development/Phaser/Input/Pointer

pageY : number The vertical coordinate of the Pointer relative to whole document. Source

2025-01-10 15:47:30
Pointer#game
  • References/Game Development/Phaser/Input/Pointer

game : Phaser.Game A reference to the currently running game

2025-01-10 15:47:30
Pointer#leftButton
  • References/Game Development/Phaser/Input/Pointer

leftButton : Phaser.DeviceButton If this

2025-01-10 15:47:30
Pointer#exists
  • References/Game Development/Phaser/Input/Pointer

exists : boolean A Pointer object that exists is allowed to be checked for physics collisions and overlaps.

2025-01-10 15:47:30
Pointer#clientY
  • References/Game Development/Phaser/Input/Pointer

clientY : number The vertical coordinate of the Pointer within the application's client area at which the event occurred (as opposed

2025-01-10 15:47:30
Pointer#position
  • References/Game Development/Phaser/Input/Pointer

position : Phaser.Point A Phaser.Point object containing

2025-01-10 15:47:30
Pointer#y
  • References/Game Development/Phaser/Input/Pointer

y : number The vertical coordinate of the Pointer. This value is automatically scaled based on the game scale.

2025-01-10 15:47:30