# Sandbox.Mouse

Gives access to mouse position etc

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Modifiers: static, abstract, sealed

## Properties

- [`Active`](/api/Sandbox.Mouse/Active): Whether the local clients' cursor is active or not, meaning it can interact with UI elements, etc.
- [`CursorType`](/api/Sandbox.Mouse/CursorType): Sets the cursor type used when the UI hasn't claimed the cursor (e.g. when the mouse falls through the UI onto the world). UI panel hover cursors take precedence over this.
- [`Delta`](/api/Sandbox.Mouse/Delta): Change in local clients' cursor position since last frame.
- [`Position`](/api/Sandbox.Mouse/Position): Access to local clients' cursor position, relative to game windows' top left corner.
- [`Velocity`](/api/Sandbox.Mouse/Velocity)
- [`Visibility`](/api/Sandbox.Mouse/Visibility): The visibility state of the mouse cursor. Auto will only show the mouse when clickable UI elements are visible.
- [`Visible`](/api/Sandbox.Mouse/Visible): DEPRECATED. Use Mouse.Visibility instead.
