InputHandler#snapOnDrag

snapOnDrag : boolean When the Sprite is dragged this controls if the center of the Sprite will snap to the pointer on drag or not. Source code: input/InputHandler.js (Line 93)

InputHandler#snapOffsetY

snapOffsetY : number This defines the top-left Y coordinate of the snap grid.. Source code: input/InputHandler.js (Line 123)

InputHandler#snapOffsetX

snapOffsetX : number This defines the top-left X coordinate of the snap grid. Source code: input/InputHandler.js (Line 117)

InputHandler#snapOffset

snapOffset : Phaser.Point A Point object that contains by how far the Sprite snap is offset. Source code: input/InputHandler.js (Line 87)

InputHandler#setDragLock()

setDragLock(allowHorizontal, allowVertical) Restricts this sprite to drag movement only on the given axis. Note: If both are set to false the sprite will never move! Parameters Name Type Argument Default Description allowHorizontal boolean <optional> true To enable the sprite to be dragged horizontally set to true, otherwise false. allowVertical boolean <optional> true To enable the sprite to be dragged vertically set to true, otherwise false. Source code: input/Input

InputHandler#scaleLayer

scaleLayer : boolean EXPERIMENTAL: Please do not use this property unless you know what it does. Likely to change in the future. Source code: input/InputHandler.js (Line 172)

InputHandler#reset()

reset() Resets the Input Handler and disables it. Source code: input/InputHandler.js (Line 382)

InputHandler#priorityID

priorityID : number The priorityID is used to determine which game objects should get priority when input events occur. For example if you haveseveral Sprites that overlap, by default the one at the top of the display list is given priority for input events. You canstop this from happening by controlling the priorityID value. The higher the value, the more important they are considered to the Input events. Source code: input/InputHandler.js (Line 45)

InputHandler#pointerY()

pointerY(pointerId) → {number} The y coordinate of the Input pointer, relative to the top-left of the parent SpriteThis value is only set when the pointer is over this Sprite. Parameters Name Type Argument Default Description pointerId integer <optional> 0 Returns number - The y coordinate of the Input pointer. Source code: input/InputHandler.js (Line 523)

InputHandler#pointerX()

pointerX(pointerId) → {number} The x coordinate of the Input pointer, relative to the top-left of the parent Sprite.This value is only set when the pointer is over this Sprite. Parameters Name Type Argument Default Description pointerId integer <optional> 0 Returns number - The x coordinate of the Input pointer. Source code: input/InputHandler.js (Line 507)