NEW Explore the Scratch Block Dictionary, tutorials, textbook, and classroom guides

Start learning →

loudness — Scratch Block Guide

📌 What you will learn

Returns microphone sound level from 0 (quiet) to 100 (loud).

What this block does

Returns microphone sound level from 0 (quiet) to 100 (loud).

Make clap-to-jump games or sound-reactive music visualizers.

  • Category: Sensing Blocks
  • Key tip: Returns -1 if microphone access is blocked or unavailable.

Working Scratch example

Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.

Example using loudness
  1. When green flag clicked
  2. Forever
  3. Set size to (50 + loudness) %

Try it: The sprite pulses larger as you speak or clap.

Related block guides

Explore other blocks in the same category or return to the full English Block Dictionary.

Back to Sensing Blocks See the overview and patterns for Sensing Blocks. Learn more → Scratch Block Dictionary (All Categories) Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Learn more →

FAQ

When should I use "loudness" in Scratch?

Make clap-to-jump games or sound-reactive music visualizers. Returns -1 if microphone access is blocked or unavailable.

This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.