InputHandler#snapOnDrag
  • References/Game Development/Phaser/Game Objects/InputHandler

snapOnDrag : boolean When the Sprite is dragged this controls if the center of the Sprite will snap to the pointer on drag or not

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

start(priority, useHandCursor) → {

2025-01-10 15:47:30
InputHandler#isPixelPerfect()
  • References/Game Development/Phaser/Game Objects/InputHandler

isPixelPerfect() → {boolean} Is this object using pixel perfect checking? Returns

2025-01-10 15:47:30
InputHandler#globalToLocalY()
  • References/Game Development/Phaser/Game Objects/InputHandler

globalToLocalY(y) Warning: EXPERIMENTAL Parameters Name

2025-01-10 15:47:30
InputHandler#setDragLock()
  • References/Game Development/Phaser/Game Objects/InputHandler

setDragLock(allowHorizontal, allowVertical) Restricts this sprite to drag

2025-01-10 15:47:30
InputHandler#pointerTimeOut()
  • References/Game Development/Phaser/Game Objects/InputHandler

pointerTimeOut(pointerId) → {number} A timestamp representing when

2025-01-10 15:47:30
InputHandler#pointerTimeDown()
  • References/Game Development/Phaser/Game Objects/InputHandler

pointerTimeDown(pointerId) → {number} A timestamp representing when

2025-01-10 15:47:30
InputHandler#pixelPerfectAlpha
  • References/Game Development/Phaser/Game Objects/InputHandler

pixelPerfectAlpha : number The alpha tolerance threshold. If the alpha value of the pixel matches or is above this value, it's

2025-01-10 15:47:30
InputHandler#pointerX()
  • References/Game Development/Phaser/Game Objects/InputHandler

pointerX(pointerId) → {number} The x coordinate of the Input pointer

2025-01-10 15:47:30
InputHandler#boundsSprite
  • References/Game Development/Phaser/Game Objects/InputHandler

boundsSprite : Phaser.Sprite A Sprite the bounds of

2025-01-10 15:47:30