music_set_volume

When called in a stage article, instantly changes the background music volume.

ArgumentTypeDescription
volume:realThe 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 );