Skip to content

function getCursorPosition (client-side)

Available since version: 0.0.1

This function will get the mouse cursor position on screen in virtuals.

Declaration

{x, y} getCursorPosition()

Parameters

No parameters.

Returns {x, y}

the cursor position on screen.