Function: SetCursorPosition()
ts
function SetCursorPosition(this: void, position: vector2): void;Set current UI cursor position.
Parameters
| Parameter | Type | Description |
|---|---|---|
this | void | - |
position | vector2 | Cursor position. |
Returns
void
Remarks
The engine also moves the system cursor when the UI cursor is bound to it.