# Sandbox.UI.ButtonEvent.HasShift

```csharp
bool HasShift { get; set; }
```

Whether `Shift` key was being held down at the time of the event.

Declared in [Sandbox.UI.ButtonEvent](/api/Sandbox.UI.ButtonEvent).
Assembly: `Sandbox.Engine`.
