(Redirected from All at Once (block))
The block documented in this article is a hidden block, meaning that while it technically still exists in the latest version of Scratch (3.0), it is not available in the palette. Additionally, this block no longer has any functionality. |
All at Once | |
all at once{ } :: control | |
Category | Control |
Type | C |
Introduced in | v137 (2.0 alpha) |
Removed in | v152 (2.0 alpha) |
The all at once block was a C block and a Control block. The block ran the blocks inside it instantly. It was based on the Warp block in Snap!,[citation needed] and was originally called Warp Speed in Scratch as well. The block was planned to serve as a temporary turbo mode for designated scripts;[citation needed] using turbo mode, where the whole project was run faster, can cause timing issues, and it is often only needed for a couple of scripts.
The block was removed later in a later 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.
The block still exists, but has now become obsolete.
Workaround
- Main article: List of Block Workarounds
The block can be replicated by utilizing the "run without screen refresh" option:
when green flag clicked all at once define all at once . . .
Example Uses
Some common uses for the all at once block were:
- Speeding up mathematical projects
- Rendering 3D
- Doing complicated calculations
- Removing the lag in ordinary loop blocks such as Repeat ()