InputHandler#pointerY()

pointerY(pointerId) → {number}

The y 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 y coordinate of the Input pointer.

Source code: input/InputHandler.js (Line 523)
doc_phaser
2017-02-14 10:53:31
Comments
Leave a Comment

Please login to continue.