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
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.