broadcast (message1) and wait — Scratch Block Guide
Sends a broadcast and pauses this script until every matching receiver finishes completely.
What this block does
Sends a broadcast and pauses this script until every matching receiver finishes completely.
Essential for turn-based RPGs, synchronized story dialogue, and reliable initialization.
- Category: Events Blocks
- Key tip: Prevents classic green-flag race bugs where one sprite checks a score before another resets it.
Working Scratch example
Try building this small script in the Scratch editor, predict what will happen, then click the green flag to test it.
- When green flag clicked
- Broadcast Reset All and wait
- Broadcast Start Loop
Try it: Guarantees every sprite finishes resetting before gameplay begins.
Related block guides
Explore other blocks in the same category or return to the full English Block Dictionary.
FAQ
When should I use "broadcast (message1) and wait" in Scratch?
Essential for turn-based RPGs, synchronized story dialogue, and reliable initialization. Prevents classic green-flag race bugs where one sprite checks a score before another resets it.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.