Touch#touchLeaveCallback
  • References/Game Development/Phaser/Input/Touch

touchLeaveCallback : Function A callback that can be fired on a touchLeave event. Source

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

touchMoveCallback : Function A callback that can be fired on a touchMove event. Source

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

touchEnterCallback : Function A callback that can be fired on a touchEnter event. Source

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

addTouchLockCallback(callback, context, onEnd) Adds a callback that is fired when a browser touchstart

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

consumeTouchMove() Consumes all touchmove events on the document (only enable this if you know you need it!).

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

onTouchEnter(event) For touch enter and leave its a list of the touch points that have entered or left the target.Doesn't appear

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

onTouchMove(event) The handler for the touchmove events. Parameters

2025-01-10 15:47:30