# wait var (sound)

Source: https://ref.dm-lang.org/sound/var/wait

### Default value
> 0 (do not wait)

Set to 1 to wait for other sounds in this channel to finish before playing this one.

The `SoundQuery` proc fills in this value with the total duration of sounds that are queued to be played on this channel.

### See also
- [sound proc](https://ref.dm-lang.org/proc/sound.md)
- [vars (sound)](https://ref.dm-lang.org/sound/var/index.md)
- [SoundQuery proc (client)](https://ref.dm-lang.org/client/proc/SoundQuery.md)
