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#priorityID
  • References/Game Development/Phaser/Game Objects/InputHandler

priorityID : number The priorityID is used to determine which game objects should get priority when input events occur. For example

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#globalToLocalY()
  • References/Game Development/Phaser/Game Objects/InputHandler

globalToLocalY(y) Warning: EXPERIMENTAL Parameters Name

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

pixelPerfectClick : boolean Set to true to use pixel perfect hit detection when checking if the pointer is over this Sprite when

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

allowVerticalDrag : boolean Controls if the Sprite is allowed to be dragged vertically.

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

scaleLayer : boolean EXPERIMENTAL: Please do not use this property unless you know what it does. Likely to change in the future

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

disableDrag() Stops this sprite from being able to be dragged.If it is currently the target of an active drag it will be stopped

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

sprite : Phaser.Sprite The Sprite object to which

2025-01-10 15:47:30