# Sandbox.Mapping.Button.OnSound

```csharp
SoundEvent OnSound { get; set; }
```

Sound to play when the button is pressed.

Declared in [Sandbox.Mapping.Button](/api/Sandbox.Mapping.Button).
Assembly: `Sandbox.Engine`.
