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)
Please login to continue.