Skip to content

Function: SetCursorPosition()

ts
function SetCursorPosition(this: void, position: vector2): void;

Set current UI cursor position.

Parameters

ParameterTypeDescription
thisvoid-
positionvector2Cursor position.

Returns

void

Remarks

The engine also moves the system cursor when the UI cursor is bound to it.