# Sandbox.MusicPlayer.Play

```csharp
static MusicPlayer Play(BaseFileSystem filesystem, string path)
```

Plays a music file from a relative path.

### Parameters

- `filesystem` (`BaseFileSystem`)
- `path` (`string`)

### Returns

`MusicPlayer`

Declared in [Sandbox.MusicPlayer](/api/Sandbox.MusicPlayer).
Assembly: `Sandbox.Engine`.
