# Sandbox.UI.MousePanelEvent.MouseButton

```csharp
MouseButtons MouseButton { get; set; }
```

Which button triggered the event, as a [Sandbox.MouseButtons](/api/Sandbox.MouseButtons) enum.

Declared in [Sandbox.UI.MousePanelEvent](/api/Sandbox.UI.MousePanelEvent).
Assembly: `Sandbox.Engine`.
