Scratch for Java

Sprite::broadcast()

Sends a message to the stage and every sprite on it; their whenIReceive(String) runs at once, before this method returns.

Examples

View on GitHub

Syntax

Java

.broadcast(message)

Scratch

broadcast [message v]

Parameters

Name Data Type Description
message String the message

Return

void

broadcast()

Create Shareable URL

Select Sections