From Test-Scratch-Wiki

Volume is a local value given to all sprites and the Stage. The value effects the instrument blocks and the audio blocks. The less volume, the quieter all sounds played on that sprite or the stage.

The loudest the volume can reach is 100, and the minimum is 0 (if you do not have a mic hooked up; if you do, the minimum is 1).

Any sprite's volume can be displayed as a Stage monitor.

Related Blocks

The blocks used in conjunction with this value are:

— The stage monitor and reporter block of the value

— Changes the value of volume

— Sets the value of volume

— A block that reports the value of any sprite's X Position, Y Position, Direction, Costume/Backdrop number, Size, Volume, Variables

Example Uses

This value can be used in a number of ways:

  • Fading in and out sound
  • Making one sound louder than another
  • Muting sound
  • Giving a user the option to change the volume of a project
  • Making a sprite do something according to volume
Cookies help us deliver our services. By using our services, you agree to our use of cookies.