InputHandler#useHandCursor

useHandCursor : boolean On a desktop browser you can set the 'hand' cursor to appear when moving over the Sprite. Source code: input/InputHandler.js (Line 51)

InputHandler#stopDrag()

stopDrag(pointer) Called by Pointer when drag is stopped on this Sprite. Should not usually be called directly. Parameters Name Type Description pointer Phaser.Pointer Source code: input/InputHandler.js (Line 1560)

InputHandler#stop()

stop() Stops the Input Handler from running. Source code: input/InputHandler.js (Line 410)

InputHandler#startDrag()

startDrag(pointer) Called by Pointer when drag starts on this Sprite. Should not usually be called directly. Parameters Name Type Description pointer Phaser.Pointer Source code: input/InputHandler.js (Line 1464)

InputHandler#start()

start(priority, useHandCursor) → {Phaser.Sprite} Starts the Input Handler running. This is called automatically when you enable input on a Sprite, or can be called directly if you need to set a specific priority. Parameters Name Type Argument Default Description priority number <optional> 0 Higher priority sprites take click priority over low-priority sprites when they are stacked on-top of each other. useHandCursor boolean <optional> false If true the Sprite will show

InputHandler#sprite

sprite : Phaser.Sprite The Sprite object to which this Input Handler belongs. Source code: input/InputHandler.js (Line 19)

InputHandler#snapY

snapY : number When a Sprite has snapping enabled this holds the height of the snap grid. Source code: input/InputHandler.js (Line 111)

InputHandler#snapX

snapX : number When a Sprite has snapping enabled this holds the width of the snap grid. Source code: input/InputHandler.js (Line 105)

InputHandler#snapPoint

snapPoint : Phaser.Point If the sprite is set to snap while dragging this holds the point of the most recent 'snap' event. Source code: input/InputHandler.js (Line 212)

InputHandler#snapOnRelease

snapOnRelease : boolean When the Sprite is dragged this controls if the Sprite will be snapped on release. Source code: input/InputHandler.js (Line 99)