From Test-Scratch-Wiki
This article or section documents a feature 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 | |
Category | Control |
Type | Cap |
Introduced in | 1.0 |
Removed in | 2.0 |
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 with the release of Scratch 2.0 and 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 new 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
- Disabling a project
— when all lives are lost, for example
when I receive [Failure v] show wait (3) secs change [color v] effect by (25) stop all
- Pausing the project
when I receive [Pause v] say [Press the green flag to continue...] for (5) secs stop all
This is like clicking the stop button, but its a script.