The Broadcast () block is a Control Block and a Stack Block. It is used to activate other scripts during a project without needing a user prompt (ie. a key press or mouse click). Once initiated, this block will send a broadcast through the entire project, activating all scripts available to receive its broadcast.
Related BlocksEditThere are two blocks that also relate to broadcasts.
The first block listed is very similar to the Broadcast () block. The difference between them is that the Broadcast () block will simply make the broadcast and continue with its script, while the other will wait until all receiving scripts have ended before continuing.
- Activating a script midway through a program.
- Running two scripts simultaneously.
- Sending commands to certain sprites.