Discuss Scratch

medians
Scratcher
1000+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

Bringing this topic up.
michaeljackson1365
Scratcher
1000+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

Support, although there's workarounds for both:
For the repeat until message broadcast:

forever
...
end
when I receive [the volleydate v]
stop [other scripts in sprite v]
For the wait until message broadcast:
No script is here until message
when I receive [the volleydate v]
...
edit=I thought of two more workarounds using cloud variables:
repeat until < not < (flight time of ship) = [434] > >
...
end

wait until < not < (flight time of ship) = [434] > >
...

Last edited by michaeljackson1365 (March 9, 2025 19:19:45)

Burn_Quartz
Scratcher
42 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

looking at this, PLEASE! I desperately need this! bump!
TheDelta_animator
Scratcher
23 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

I've really wanted this for forever
ElvenEmperor
Scratcher
87 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

+1
Bent_Paper
Scratcher
19 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

wait until <> :: control

like this?
Bent_Paper
Scratcher
19 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

Bent_Paper wrote:

wait until <> :: control

like this?
nevermind it was this
wait until [message1 v] :: control
Bent_Paper
Scratcher
19 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

Bent_Paper wrote:

Bent_Paper wrote:

wait until <> :: control

like this?
nevermind it was this
wait until [message1 v] :: control
NEVERMIND WHY DO I ALWAYS FORGET
wait until [message1 v] happens :: events
Boss_1s
Scratcher
100+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

bro its
wait until [message1 v] received::control

Also you can just edit your post to keep from cluttering the topic

Last edited by Boss_1s (June 6, 2025 15:24:47)

michaeljackson1365
Scratcher
1000+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

ElvenEmperor wrote:

+1
Why do you support?
oodle123
Scratcher
32 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

i wonder if it should be in control or events.
mtaka4
Scratcher
500+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

oodle123 wrote:

i wonder if it should be in control or events.
Probably events, because it would look nicer with the broadcast blocks being close
Dracandros
Scratcher
34 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

I dont think they really should be in the control category, i think they would fit better in the events category due to these blocks:
when I receive [ v]
broadcast [ v]
broadcast [ v] and wait
ladnat
Scratcher
65 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

What I like about the “Wait until ‘message’ received” concept is that it only listens for when a message is broadcasted for a limited amount of time. (When the block is running)

My anti-bug brain is catching a potential issue for the “repeat until ‘message’ received” block:
The message comes in a short bust so the loop might not catch it. Sure the work around would be to listen for it during the loop but then would it stop on the spot or complete the loop before stopping? (Honestly it might just be the second option if anything.)
Scratch_DylanXD
Scratcher
22 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

Really want these blocks
dizzyboy42
Scratcher
500+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

simple workaround
when green flag clicked
broadcast [thing v]
set [ thing v] to (1)

when green flag clicked
repeat until <(thing) = [1]>
do stuff :: my blocks
end

wait until <(thing) = [1]>
do some more stuff
medians
Scratcher
1000+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

Bringing this topic up.
thedolphin_
Scratcher
100+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

Bump! Support!
mtaka4
Scratcher
500+ posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

thedolphin_ wrote:

Bump! Support!

Scratch_DylanXD wrote:

Really want these blocks
Explain why you support.

Last edited by mtaka4 (Nov. 6, 2025 00:34:59)

Scratch_DylanXD
Scratcher
22 posts

2 New blocks: "Repeat until [message]" and "Wait until [message]" [UPDATED]

mtaka4 wrote:

thedolphin_ wrote:

Bump! Support!

Scratch_DylanXD wrote:

Really want these blocks
Explain why you support.
I am making an Flash-themed game on Scratch (it is HTML5, an player that supports mobile and where Scratch 3.0 was build) but i need this for the Music only on the start menu, not on the game and on the game other Music so thats why I support

Powered by DjangoBB