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

Vec2i getCursorPositionPx()

Parameters

No parameters.

Returns Vec2i

the cursor position on screen.