Broadcast and Wait
broadcast (message) and wait sends the message AND pauses the sending sprite’s script until all receivers have finished running their “When I receive” scripts.
When to Use It
Use “broadcast and wait” when the next step must happen AFTER the receivers finish. For example:
- Broadcast (show intro animation) and wait — pauses game setup.
- After the animation finishes, the game setup continues automatically.
Plain broadcast vs. broadcast and wait
Plain broadcast: sender continues immediately. Broadcast and wait: sender pauses until all receivers finish.