Revision as of 20:08, 4 May 2012 by Lucario621 (talk | contribs) (→‎Workaround: Removed hidden comment of deleted image)

Category Sound
Type Reporter

The Volume block is a Sound block and a Reporter block. The block holds the Scratch project's volume. This block can be displayed as a Stage monitor.


This block can be simply replicated with the following code:

([volume v] of [sprite v])

where "sprite" is replaced by the sprite you are finding the volume of.

Example Uses

As this block holds how loud sounds, drums, and notes will be played, it is useful in music projects where they must sense how loud an instrument has been played.

Some common uses for the Volume block:

  • Volume controls
  • Loops that must stop once the volume is at a certain amount
  • Sensing how loud something is being played

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.