Skip to content

function getCursorPosition (client-side)

Available since version: 0.3.0

Returns the cursor position in virtual (screen-scaled) coordinates.

Declaration

number, int getCursorPosition()

Parameters

No parameters.

Returns number, int

X and Y position.