Waits to receive a specified broadcast message and then runs the script. Useful to communicate between objects and tell them when to do something.

broadcast__-2.png

Correlates with these bricks:

broadcast.png
Learn more >>

Broadcast and Wait Brick
Learn more >>

Example

When you tap game over, the panda will disappear. You need two objects:

broadcast__-4.png

This is the script for the panda:

broadcast-__-5.png

And this the one for game over:

broadcast__-6.png

Note: select the same message in both bricks!

Result

Download

When tapped Example