Cursor: Difference between revisions
From Crumbled World Wiki
(Created page with "{{:CursorExampleCode}} ==Functions== {| class="wikitable" !|return !|function !|description |- | |setVisible(bool visible) |Set if the cursor should be visible. |- | |setRelativeMouseMode(bool mode) |If mode is true the mouse cursor is set to invisible and the relative mouse motion is sent. |- | |warpMousePosition(Vec2 pos) |Set mouse position. |- |}") |
(No difference)
|
Latest revision as of 14:22, 5 July 2025
Functions
| return | function | description |
|---|---|---|
| setVisible(bool visible) | Set if the cursor should be visible. | |
| setRelativeMouseMode(bool mode) | If mode is true the mouse cursor is set to invisible and the relative mouse motion is sent. | |
| warpMousePosition(Vec2 pos) | Set mouse position. |