API Reference › Audio › Audio.volume
method

Audio.volume

Audio.volume(v) -> void

Sets the master volume (0.0 .. 1.0), applied to every loaded sound now and to every future play.

Example

program Demo {
  entry {
    Audio.volume(0.8)
  }
}
← All symbols