Sprite::broadcast()
Broadcasts a message to every sprite on the stage, this one included, and to the stage itself, as in Scratch. If the sprite is not on a stage, nothing happens.
Examples
Syntax
Java
.broadcast(message)
Scratch
broadcast [message v]
Parameters
| Name | Data Type | Description |
|---|---|---|
| message | String | The message to broadcast. |
Return
void