|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).|
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.
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 ( :: obsolete) :: control cap
- 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 ( :: obsolete) :: control cap
- Pausing the project
when I receive [Pause v] say [Press the green flag to continue...] for (5) secs stop all ( :: obsolete) :: control cap
This block has the same function as the stop sign.
stop [all v]
|Note:||Only works in Scratch 2.0|