Discuss Scratch
- Discussion Forums
- » Suggestions
- » Control Block : All at Once // Put blocks in this loop and they run together
- 10goto10
-
500+ posts
Control Block : All at Once // Put blocks in this loop and they run together
The confusion is that Scratch used to have an All at Once block that was basically a copy of the Warp block in SNAP! It’s purpose was to make a script run at turbo speed. However,… So if you see the below posts you might get confused. So I'll explain it better. Really what I mean is to add an All at Once block in which 2 things will run at the same time not to make it fast. It'll be a Control Block. It will be helpful when you want to say and text to speech at the same time!
I think what you want is to launch portions of subscripts in the same script.

This could let you run concurrent set of blocks without having to create additional names for custom blocks or broadcasts.
It also would let you make programs that were a little more compact (fewer broadcast names, custom names, variable names that tend after a while to clutter the block pallet.)
You might want to take a look at Snap. It’s free, very much like Scratch, and has some interesting features. https://snap.berkeley.edu/
- VedanshS933
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
The confusion is that Scratch used to have an All at Once block that was basically a copy of the Warp block in SNAP! It’s purpose was to make a script run at turbo speed. However,… So if you see the below posts you might get confused. So I'll explain it better. Really what I mean is to add an All at Once block in which 2 things will run at the same time not to make it fast. It'll be a Control Block. It will be helpful when you want to say and text to speech at the same time!
I think what you want is to launch portions of subscripts in the same script.
This could let you run concurrent set of blocks without having to create additional names for custom blocks or broadcasts.
It also would let you make programs that were a little more compact (fewer broadcast names, custom names, variable names that tend after a while to clutter the block pallet.)
You might want to take a look at Snap. It’s free, very much like Scratch, and has some interesting features. https://snap.berkeley.edu/
I want that there will be a control block which will be All at Once and whatever you put in it will be running together
Scratch On!
- T0RRENT_
-
100+ posts
Control Block : All at Once // Put blocks in this loop and they run together
Why don't you say Scratch On in your signature?
- JPJPMan
-
22 posts
Control Block : All at Once // Put blocks in this loop and they run together
broadcast [message v]Or
ask [Stuff?] and wait
when I receive [message v]
...
say [stuff]There are a lot of other work arounds, but these are the ones that came to my head
ask [Stuff?] and wait
say []
- dertermenter
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
- 10goto10
-
500+ posts
Control Block : All at Once // Put blocks in this loop and they run together
It’s always good to define your terms.(#1)You can see here that the scratch team have closed all at once suggestions in the past in favour for that suggestion linked, so this is a duplicate.
PS : Not a Duplicate.
The suggestions you pointed to seem to be variations of the warp block that the Scratch Team called ‘all at once’ in the Scratch 2.0 beta. However, it looks like Ike the OP is suggesting a way to launch multiple subscripts at the same time in the same script, without the need to create multiple broadcast scripts. It’s true that this suggestion has re-used the name ‘all at once’ but I took it to mean ‘launch multiple blocks in the same frame, i.e. all at once’ in the same script. However, there might be a launch duplicate out there - I didn’t look for that.
- VedanshS933
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
It’s always good to define your terms.(#1)You can see here that the scratch team have closed all at once suggestions in the past in favour for that suggestion linked, so this is a duplicate.
PS : Not a Duplicate.
The suggestions you pointed to seem to be variations of the warp block that the Scratch Team called ‘all at once’ in the Scratch 2.0 beta. However, it looks like Ike the OP is suggesting a way to launch multiple subscripts at the same time in the same script, without the need to create multiple broadcast scripts. It’s true that this suggestion has re-used the name ‘all at once’ but I took it to mean ‘launch multiple blocks in the same frame, i.e. all at once’ in the same script. However, there might be a launch duplicate out there - I didn’t look for that.
Yeah, this is not a dupe anyways. It has been unclosed 2 times
———–
Bring Up My Topic!
- 10goto10
-
500+ posts
Control Block : All at Once // Put blocks in this loop and they run together
Yeah, this is not a dupe anyways. It has been unclosed 2 times
I think that will keep happening unless you change your title to something like Control Block : Launch All at Once because the “All at once” block once existed and even though it did something else, it is mentioned in the list of rejected suggestions.
You’re not asking for warp speed. You’re asking for a way that one script could launch a glide while launching a forever look to check if a color has been touched and then stop the script (or any number of other commands or loops). It’s a way of putting several related stacks into one script to make it easier to read and to avoid having a bunch of “when I receive” hats. But right now, your suggestion will always be confused with the rejected “warp” block that was once called “all at once”.
- 7salad3salad
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
cant you make broadcasts to do that?
broadcast [all at once1 v]
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
- 10goto10
-
500+ posts
Control Block : All at Once // Put blocks in this loop and they run together
Yes, that is the Scratch way to do it. But that spreads out the set of launched scripts. It would improve readability if they were together in one script. It might also help with the logic of stopping a loop or a block if these launched blocks and sub-scripts were still considered part of the script that launched them. cant you make broadcasts to do that?
Launch all at once {
- {
glide (5) secs to x: (0) y: (0)
} :: control
- {
wait until <key [space v] pressed?>
stop [This script v]
} :: control
} end :: control
Ideally the
stop [ This Script v]would also stop the glide.
- VedanshS933
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
cant you make broadcasts to do that?broadcast [all at once1 v]
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
when I receive [all at once1 v]
...
That's too annoying
- Jackson49_test
-
100+ posts
Control Block : All at Once // Put blocks in this loop and they run together
Bump
- VedanshS933
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
Bump
- doodleblues
-
100+ posts
Control Block : All at Once // Put blocks in this loop and they run together
semi support ..
Cons | easy workaround, could be used to lead to intentionally crash projects
Pro | would be more efficient in some cases instead of Broadcast, when i receive(x3)
More cons than pros, but i think this is a really good idea
Cons | easy workaround, could be used to lead to intentionally crash projects
Pro | would be more efficient in some cases instead of Broadcast, when i receive(x3)
More cons than pros, but i think this is a really good idea
- mbrick2
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
Hacked block workaround .
- VedanshS933
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
Hacked block workaround .
That does not work
- historical_supa
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
This was in 2.0 alpha, but wonder why they removed. This would be better than just telling you to turn on turbo mode, though it could be workarounded with custom blocks with run without screen refresh checked. Just saying.
- k0d3rrr
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
Correct! According to the This was in 2.0 alpha, but wonder why they removed. This would be better than just telling you to turn on turbo mode, though it could be workarounded with custom blocks with run without screen refresh checked. Just saying.Scratch Wiki…
The block was removed later in the alpha version of Scratch 2.0; in the official release, custom blocks instead have an option entitled “run without screen refresh”, which runs the script faster.
- historical_supa
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
A question: what would happen if you added a wait block? Would it skip it? Same for repeat blocks and others.
- VedanshS933
-
1000+ posts
Control Block : All at Once // Put blocks in this loop and they run together
A question: what would happen if you added a wait block? Would it skip it? Same for repeat blocks and others.
It will run it together so it will skip it
- Discussion Forums
- » Suggestions
-
» Control Block : All at Once // Put blocks in this loop and they run together