# set instrument to (Piano) — Scratch Block Guide > Switches between 21 built-in instruments (Piano, Guitar, Synth Lead, Flute, Marimba, etc.). How to use the "set instrument to (Piano)" block in Scratch 3.0 (Extensions): clear explanation, working block example, and debugging tips. ## What this block does Switches between 21 built-in instruments (Piano, Guitar, Synth Lead, Flute, Marimba, etc.). Give each sprite a different instrument to build a multi-track band. - Category: Extensions - Key tip: Each sprite keeps its own instrument setting independently. ## 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 set instrument to (Piano)** - When green flag clicked - Set instrument to (Marimba) - Play note (60) for (0.5) beats Try it: Plays the note with a warm marimba tone. ## Related block guides Explore other blocks in the same category or return to the full English Block Dictionary. - [Back to Extensions](/en/dictionary/extensions/): See the overview and patterns for Extensions. - [Scratch Block Dictionary (All Categories)](/en/dictionary/): Browse Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and Extensions. Updated: 2026-11-24 Author: [Takamasa Suzuki](https://scratch.gmnavi.jp/about/author/) Japanese Edition: https://scratch.gmnavi.jp/dictionary/extensions/music-instrument/ [Scratch Daizen (English)](https://scratch.gmnavi.jp/en/)