Scratch for Java

Window::setSoundVolume()

Sets the volume of every sound sprites and stages play, e.g. from an options menu, on top of their own volumes. The background music is not affected.

Examples

View on GitHub

Syntax

Java

.setSoundVolume(volume)

Parameters

Name Data Type Description
volume double from 0 to 100 (the default)

Return

void

setSoundVolume()

Create Shareable URL

Select Sections