Control blocks is one of the nine categories of Scratch blocks. They are color-coded gold and are used to control scripts. There are currently 11 Control blocks: 1 Hat block, 5 C blocks, 3 Stack blocks, and 2 Cap blocks.
Scratch 3.0 has the following one Control Hat block:
(sprites only) — This hat block is triggered whenever a clone is created, and will only be run by that clone.
Scratch 3.0 has the following three Control Stack blocks:
— Pauses the script for the amount of time.
— Pauses the script until the condition is true.
— Creates the specified clone.
Scratch 3.0 has the following five Control C blocks:
— A loop that repeats the specified number of times.
— A loop that will never end unless the Stop Sign is pressed.
— Checks the condition so that if the condition is true, the blocks inside it will activate.
— Checks the condition so that if the condition is true, the blocks inside the first C will activate and if the condition is false, the blocks inside the second C will activate.
— A loop that will stop once the condition is true.
Scratch 3.0 has the following two Control Cap blocks:
— Stops the scripts chosen through the drop-down menu. Can also be a stack block when “other scripts in this sprite” is chosen.