# Sandbox.MouseVisibility

The visibility state of the mouse cursor.

- Kind: enum
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: sealed

## Fields

- [`Auto`](/api/Sandbox.MouseVisibility/Auto): The mouse is only visible when UI elements with `pointer-events: auto` are on-screen.
- [`Hidden`](/api/Sandbox.MouseVisibility/Hidden): The mouse is locked to the game and cannot interact with UI elements.
- [`Visible`](/api/Sandbox.MouseVisibility/Visible): The mouse is visible and can interact with UI elements.
