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

button : number This property was removed in Phaser 2.4 and should no longer be used.Instead please see the Pointer button

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

start() Starts the event listeners running. Source code:

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

new Pointer(game, id, pointerMode) A Pointer object is used by the Mouse, Touch and MSPoint managers and represents a single finger

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

callbackContext : Object The context under which the callbacks are run. Source

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

new Touch(game) Phaser.Touch handles touch events with your game. Note: Android 2.x only supports 1 touch event at once, no multi-touch

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

removeKey(keycode) Removes a Key object from the Keyboard manager. Parameters

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

[static] NO_BUTTON : number No buttons at all. Source

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

buttonCode : number The buttoncode of this button if a Gamepad, or the DOM button event value if a Pointer.

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

repeats : number If a key is held down this holds down the number of times the key has 'repeated'.

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

addPointer() → {Phaser.Pointer | null}

2025-01-10 15:47:30