Cursor

From Crumbled World Wiki

CursorExampleCode


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.