# Sandbox.MusicComponent.PlayOnStart

```csharp
bool PlayOnStart { get; set; }
```

Start playing as soon as this component is enabled.

Declared in [Sandbox.MusicComponent](/api/Sandbox.MusicComponent).
Assembly: `Sandbox.Engine`.
