Window::setMusicVolume()
Sets the volume of the background music, e.g. from an options menu. Sounds of sprites and stages are not affected.
Examples
Syntax
Java
.setMusicVolume(volume)
Parameters
| Name | Data Type | Description |
|---|---|---|
| volume | double | from 0 to 100 (the default) |
Return
void