InputHandler#pointerUp()

pointerUp(pointerId) → {boolean} If the Pointer is up this returns true.This only checks if the Pointer is up, not if it's up over any specific Sprite. Parameters Name Type Argument Default Description pointerId integer <optional> 0 Returns boolean - True if the given pointer is up, otherwise false. Source code: input/InputHandler.js (Line 555)

InputHandler#pointerTimeUp()

pointerTimeUp(pointerId) → {number} A timestamp representing when the Pointer left the touchscreen. Parameters Name Type Argument Default Description pointerId integer <optional> 0 Returns number - Source code: input/InputHandler.js (Line 586)

InputHandler#pointerTimeOver()

pointerTimeOver(pointerId) → {number} A timestamp representing when the Pointer first touched the touchscreen. Parameters Name Type Argument Default Description pointerId integer <optional> 0 Returns number - Source code: input/InputHandler.js (Line 665)

InputHandler#pointerTimeOut()

pointerTimeOut(pointerId) → {number} A timestamp representing when the Pointer left the touchscreen. Parameters Name Type Argument Default Description pointerId integer <optional> 0 Returns number - Source code: input/InputHandler.js (Line 680)

InputHandler#pointerTimeDown()

pointerTimeDown(pointerId) → {number} A timestamp representing when the Pointer first touched the touchscreen. Parameters Name Type Argument Default Description pointerId integer <optional> (check all) Returns number - Source code: input/InputHandler.js (Line 571)

InputHandler#pointerOver()

pointerOver(pointerId) → {boolean} Is the Pointer over this Sprite? Parameters Name Type Argument Default Description pointerId integer <optional> (check all) The ID number of a Pointer to check. If you don't provide a number it will check all Pointers. Returns boolean - True if the given pointer (if a index was given, or any pointer if not) is over this object. Source code: input/InputHandler.js (Line 601)

InputHandler#pointerOut()

pointerOut(pointerId) → {boolean} Is the Pointer outside of this Sprite? Parameters Name Type Argument Default Description pointerId integer <optional> (check all) The ID number of a Pointer to check. If you don't provide a number it will check all Pointers. Returns boolean - True if the given pointer (if a index was given, or any pointer if not) is out of this object. Source code: input/InputHandler.js (Line 634)

InputHandler#pointerDragged()

pointerDragged(pointerId) → {boolean} Is this sprite being dragged by the mouse or not? Parameters Name Type Argument Default Description pointerId integer <optional> 0 Returns boolean - True if the pointer is dragging an object, otherwise false. Source code: input/InputHandler.js (Line 695)

InputHandler#pointerDown()

pointerDown(pointerId) → {boolean} If the Pointer is down this returns true.This only checks if the Pointer is down, not if it's down over any specific Sprite. Parameters Name Type Argument Default Description pointerId integer <optional> 0 Returns boolean - True if the given pointer is down, otherwise false. Source code: input/InputHandler.js (Line 539)

InputHandler#pixelPerfectOver

pixelPerfectOver : boolean Set to true to use pixel perfect hit detection when checking if the pointer is over this Sprite.The x/y coordinates of the pointer are tested against the image in combination with the InputHandler.pixelPerfectAlpha value.This feature only works for display objects with image based textures such as Sprites. It won't work on BitmapText or Rope.Warning: This is expensive, especially on mobile (where it's not even needed!) so only enable if required. Also see the less-e