Discuss Scratch

Mimi-EEEEE
Scratcher
100+ posts

broadcast recived (hear me out)

Yes, I know this suggestion is rejected because it's ambigous, but one simple change to the broadcast block could easily fix this.
broadcast [ v] for () seconds :: events
start brodcast [ v] for () seconds :: events
Same thing for the broadcast and wait block. What does that one do differently from the normal broadcast block?
xylidine
New Scratcher
100+ posts

broadcast recived (hear me out)

Mimi-EEEEE wrote:

Yes, I know this suggestion is rejected because it's ambigous, but one simple change to the broadcast block could easily fix this.
broadcast [ v] for () seconds :: events
start brodcast [ v] for () seconds :: events
Same thing for the broadcast and wait block. What does that one do differently from the normal broadcast block?

What would be the purpose of broadcasting for a chosen period of time?

The broadcast and wait block sends a message to all sprites and pauses the current script until every script activated by that message has finished running.
Mimi-EEEEE
Scratcher
100+ posts

broadcast recived (hear me out)

xylidine wrote:

Mimi-EEEEE wrote:

Yes, I know this suggestion is rejected because it's ambigous, but one simple change to the broadcast block could easily fix this.
broadcast [ v] for () seconds :: events
start brodcast [ v] for () seconds :: events
Same thing for the broadcast and wait block. What does that one do differently from the normal broadcast block?

What would be the purpose of broadcasting for a chosen period of time?

The broadcast and wait block sends a message to all sprites and pauses the current script until every script activated by that message has finished running.
It would be for a specific time so that the broadcast recieved block knows how long to detect a broadcast for. But if the scratch team doesn't like this idea, they can just make the block detect a broadcast on the frame it broadcast and nothing else.
Robo-Andrei
Scratcher
100+ posts

broadcast recived (hear me out)

I don't see a reason to add those blocks.

// Message being broadcasted
when I receive [message1 v]
set [message1 being broadcasted? v] to [true]
wait (0) seconds
set [message1 being broadcasted? v] to [false]

// Message received
when I receive [message2 v]
set [message2 received? v] to [true]

Last edited by Robo-Andrei (April 1, 2026 08:44:05)

Powered by DjangoBB