Cap Block


Cap block is a block that is designed to stop a script or project from running, canceling unwanted activity before it can start.


As Cap blocks are designed to stop a script or project, their bottom is smooth; no blocks can be placed under them, as there is no need. Other than that, their shape is identical to the Stack block — they still have the notch on the top, so the block can be placed below others.

Cap Block



The need to stop a script (or all scripts) can be found on several occasions. Some include:

  • Disabling a script that will continuously set a variable
  • Once a game is completed, all scripts stop
  • Deactivating a sprite

This work, “Cap Block”, is a derivative of “Cap Block” by Scratch, used under CC BY-SA 4.0. “Cap Block” is licensed under CC BY-SA 4.0 by STEMpedia.

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
Dabble Home Connected

Getting Started with Dabble

Getting Started with Dabble Introduction Dabble App transforms your Smartphone into a virtual I/O device and lets you control hardware using Bluetooth, communicate with it,…
PictoBlox blocks Scratch how to

Getting Started with PictoBlox

PictoBlox is a programming software based on Scratch, where you can make interactive games, animations or program robots and projects with evive, Arduino, etc..
All articles loaded
No more articles to load
PictoBlox Supported Boards