Control

Control
Extension Description
Control blocks run the basic flow of a project in the desired fashion, whether it be organized or unexpected.

Introduction

Control is one of the ten categories of default Scratch blocks. They are color-coded amber and are used to control scripts under certain conditions.

Read More

PictoBlox Blocks

The block pauses its script for the specified amount of seconds — the wait can also be a decimal number.
Blocks held inside this block will loop a given amount of times, before allowing the script to continue. If a decimal is put in, the number is rounded up.
Blocks held inside this block will be in a loop — just like the Repeat () block and the Repeat Until () block, except that the loop never ends (unless the stop sign is clicked, the Stop All block is activated, or the stop script block is activated within the loop). Due to this infinite loop, the block has no bump at the bottom; having a bump would be pointless, as the blocks below it would never be activated.
The block will check its Boolean condition. If the condition is true, the blocks held inside it will run, and then the script involved will continue. If the condition is false, the code inside the block will be ignored and the script will move on (unlike in the If () Then, Else block). The condition is only checked once; if the condition turns to false while the script inside the block is running, it will keep running until it has finished.
The block will check its Boolean condition: if the condition is true, the code held inside the first C (space) will activate, and then the script will continue; if the condition is false, the code inside the second C will activate (unlike the If () Then block).
The block pauses its script until the specified Boolean condition is true.
Depending on the argument, it is either a Cap block (all or this script), or a Stack block (other scripts in sprite). It is the only block that changes its shape.
It activates in a clone when it gets created.
It creates a clone of the sprite in the argument. It can also clone the sprite it is running in, creating clones of clones, recursively.
It deletes the clone it runs in. This block is the only way, besides for clicking the Green Flag or Stop Sign, to delete clones.
All articles loaded
No more articles to load

Block Coding Examples

All articles loaded
No more articles to load
Table of Contents