# Sandbox.UI.Panel.HasMouseCapture

```csharp
bool HasMouseCapture { get; set; }
```

Whether this panel is capturing the mouse cursor. See [Sandbox.UI.Panel.SetMouseCapture](/api/Sandbox.UI.Panel/SetMouseCapture).

Declared in [Sandbox.UI.Panel](/api/Sandbox.UI.Panel).
Assembly: `Sandbox.Engine`.
