This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective. For information on the feature that replaced this one, see Stop () (block). |
Stop All | |
stop all @stopSign::control cap | |
Category | Control |
Type | Cap |
Introduced in | 1.0 |
Removed in | v121[citation needed] (2.0 alpha) |
The Stop All block was a Control block and a Cap block. The block would deactivate all scripts in the project, stopping it completely. This block works similar to the Stop Script block, except that it deactivates all scripts in the project instead of being confined to its script, just like the stop sign. It does not prevent hat blocks from being activated when its given event is activated (e.g. the script below a When () Clicked (block) block will still be activated when the sprite is clicked).
This block became obsolete in an alpha release of Scratch 2.0 with the introduction of the stop () block. The new block does not have a stop sign icon. When uploading a Stop All block from Scratch 1.4, it is automatically changed into the stop () block.
Example Uses
This block was the main way to stop a project. Some common uses:
- Ending a project once all the actions are carried out
say [Thanks for watching!] for (4) secs stop all @stopSign:: control cap
- Disabling a project — when all lives are lost, for example
when I receive [Failure v]:: control show wait (3) secs change [color v] effect by (25) stop all @stopSign:: control cap
- Pausing the project
when I receive [Pause v]:: control say [Press the green flag to continue...] for (5) secs stop all @stopSign:: control cap
This block has the same function as the stop sign.
Workaround
stop [all v]
Note: | Only works in Scratch 2.0 and 3.0 |