> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# play

> Stop the currently playing track (if any) and start playing the requested one.

# play

## Summary

Stop the currently playing track (if any) and start playing the requested one.

## Signature

```typescript theme={null}
abstract play(sound: string): void;
```

## Parameters

### sound

**Type**:`string`

Key that identifies the music track (as passed to load).

## Returns

**Type**:`void`

Stop the currently playing track (if any) and start playing the requested one.
