RAGE.Ui.Cursor.Visible

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Changes cursor visibility state.

Syntax

Bool RAGE.Ui.Cursor.Visible;

Required Arguments

  • toggle: Bool toggle

Example

C# Syntax
C.png

Parameters

  • toggle: Bool toggle

Example

mp.events.add("consoleCommand", (command) => { mp.console.logInfo('Hello World'); });

public void cursorVisible(bool toggle)
{
    RAGE.Ui.Cursor.Visible = toggle;
}