Skip to content

function getCursorPositionPx (client-side)

Available since version: 0.3.0

This function will return the current cursor position in pixel coordinates.

Declaration

{x, y} getCursorPositionPx()

Parameters

No parameters.

Returns {x, y}

X and Y position in pixels.