IsCursorShown
Whether the player’s cursor is up.
true while the player’s cursor is on screen - brought up with the cursor key or SetCursorShown. OnCursorChange
tells the moment it changes.
Syntax
Section titled “Syntax”IsCursorShown()Returns
Section titled “Returns”boolean - true while the cursor is up
Example
Section titled “Example”function OnFrame(dt) if IsCursorShown() then SetUiAlpha("toolbar", 100) else SetUiAlpha("toolbar", 40) endendSee also
Section titled “See also”SetCursorShown · OnCursorChange · the The game’s UI for a script group of the index
