Programming structure in Scratch Preview

Scratch programs follow a very simple sequence:

  1. Start;
  2. Execute commands;
  3. End.

This means we have blocks that fall into each of these 3 categories.

To access the full video please subscribe to FLLCasts.com

Subscribe

  • #1573
  • 20 Mar 2020

Start blocks

Start blocks have a convex round shape on the upper side:

content picture

Each of these blocks contains a condition along the lines of "When a button is pressed" or "When the program starts" and they activate the commands attached underneath them when their condition is met.

Executable command blocks

Most commands have small indents on the top side, which shows that they can be attached underneath other blocks.

content picture

These blocks cannot be used as a first block of a program.

Blocks that end the program

These blocks are not mandatory because your program can end on its own when all the blocks have been executed. These blocks do not have a bulge on the bottom, indicating that no more blocks can be placed after this block:

content picture

Courses and lessons with this Tutorial

This Tutorial is used in the following courses and lessons

Image for Keep 'em clean - remote Scratch game course
  • 41
  • 0:00
  • 70
Image for Lesson 1 - Creating a character
  • 9
  • 2
  • 5
  • 3d_rotation 0