Api Sandbox MouseVisibility
enum

MouseVisibility

public sealed enum MouseVisibility : Enum

The visibility state of the mouse cursor.

Enum Values

Name Value Description
Visible The mouse is visible and can interact with UI elements.
Auto The mouse is only visible when UI elements with `pointer-events: auto` are on-screen.
Hidden The mouse is locked to the game and cannot interact with UI elements.
Assembly: Sandbox.Engine Namespace: Sandbox Full Name: Sandbox.MouseVisibility