enum MouseVisibility : System.Enum

robot_2Generated
code_blocksInput

Description

The MouseVisibility enum defines the visibility state of the mouse cursor in the s&box environment. It determines how the mouse interacts with UI elements and the game itself.

Members

Fields

Member NameSummary
VisibleThe mouse is visible and can interact with UI elements.
AutoThe mouse is only visible when UI elements with pointer-events: auto are on-screen.
HiddenThe mouse is locked to the game and cannot interact with UI elements.