Skip to content

function getCursorPosition (client-side)

Available since version: 0.3.0

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

Declaration

int, int getCursorPosition()

Parameters

No parameters.

Returns int, int

X and Y position.