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
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
Mouse#onMouseWheel()
  • References/Game Development/Phaser/Input/Mouse

onMouseWheel(event) The internal method that handles the mouse wheel event from the browser. Parameters

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

removeTouchLockCallback(callback, context) → {boolean} Removes the callback at the defined index

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

event : Object The most recent DOM event from keydown or keyup. This is updated every time a new key is pressed or released.

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

[static] CONTACT A 'CONTACT' pointer has an active cursor that only tracks movement when actived; notably this is a touch-style

2025-01-10 15:47:30
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
Input#addMoveCallback()
  • References/Game Development/Phaser/Input/Input

addMoveCallback(callback, context) Adds a callback that is fired every time the activePointer receives a DOM move event such as a mousemove

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

swapTarget(newTarget, silent) This will change the Pointer.targetObject object to be the

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