Stage::broadcast()
Sends a message to every sprite and then the stage; their whenIReceive runs at once.
Examples
Syntax
Java
.broadcast(message)
Scratch
broadcast [message v]
Parameters
| Name | Data Type | Description |
|---|---|---|
| message | String | the message |
Return
void