Skip to content

AudioBus

Extends EngineObject.

A bus of the mix: a group of sounds with a volume, a mute and a pause of its own (Music, Vehicles, Environment, UI). See AudioSystem.GetBus.

Properties

  • name: string Read-only.
  • volume: number The volume, 0 to 1 and above. The volume of the master bus is AudioSystem.Volume.
  • muted: boolean

Methods

set_paused

function set_paused(self, paused: boolean): ()

Pauses everything on the bus, and resumes it.

stop_all

function stop_all(self): ()

Stops everything on the bus.