Skip to content

function getCursorPosition (client-side)

Available since version: 0.3.0

This function will return the current cursor position in virtual (screen-scaled) coordinates.

Declaration

{x, y} getCursorPosition()

Parameters

No parameters.

Returns {x, y}

X and Y position.