Skip to content

function getCursorPositionPx (client-side)

Available since version: 0.0.2

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

Declaration

{x, y} getCursorPositionPx()

Parameters

No parameters.

Returns {x, y}

the cursor position on screen.