When called in a stage article, instantly changes the background music volume.
Argument | Type | Description |
---|---|---|
volume | :real | The target music volume, with a range of 0 to 1. |
Example, called from a stage’s update.gml:
// instantly set music volume to 50%:
music_set_volume( 0.5 );