Mouse#Mouse
  • References/Game Development/Phaser/Input/Mouse

new Mouse(game) The Mouse class is responsible for handling all aspects of mouse interaction with the browser. It captures and

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

enabled : boolean Touch events will only be processed if enabled. Default

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

pointerMoveCallback : Function A callback that can be fired on a MSPointerMove event.

2025-01-10 15:47:30
Keyboard#destroy()
  • References/Game Development/Phaser/Input/Keyboard

destroy() Stops the Keyboard event listeners from running (keydown and keyup). They are removed from the window.Also clears all

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

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

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

msSinceLastClick : number The number of milliseconds since the last click or touch event.

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

leave(event) Called when the Pointer leaves the target area. Parameters

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

onDown : Phaser.Signal This Signal is dispatched every

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

game : Phaser.Game Local reference to game.

2025-01-10 15:47:30
Key#downDuration()
  • References/Game Development/Phaser/Input/Key

downDuration(duration) → {boolean} Returns true if the

2025-01-10 15:47:30