# PlayOptions

> Aego 0.12.5 · development; docs build `4a32b816933e02930662f6a443cb25abe6050d090c55e237cbff5c44ae9b25f8`. [Build manifest](/docs-build.json).

```
struct PlayOptions
```

PlayOptions tune one play. Volume and Pitch 0 mean 1; Bus Master plays on the bus of the clip; Unscaled keeps playing while the game is paused.

## Bus

```
field Bus aego/audio.Bus
```

Selects the playback bus. Master here means the clip's configured bus, not a forced routing to the master bus.

## FadeIn

```
field FadeIn float
```

Sets the fade-in duration in seconds; zero starts without a fade.

## Loop

```
field Loop bool
```

Repeats the clip until stopped instead of finishing after one playback.

## Pan

```
field Pan float
```

Sets stereo balance from −1 (left) through 0 (centre) to 1 (right).

## Pitch

```
field Pitch float
```

Scales playback speed and pitch together; 1 is the original speed and 0 also selects 1 for these options.

## Priority

```
field Priority int
```

Sets voice priority, clamped to 0–255. Higher-priority sounds are preferred when the mixer must replace a voice.

## Unscaled

```
field Unscaled bool
```

Keeps this sound playing while the game is paused when true; false ties it to game pause.

## Volume

```
field Volume float
```

Multiplies the clip's gain; 1 is unchanged and 0 also selects 1 for these options, rather than muting the sound.
