

Each category has blocks that perform a different function. There are six different block shapes: Hat, Stack, Boolean, Reporter, C and Cap.īlocks are divided into 9 categories: Motion, Looks, Sound, Events, Control, Sensing, Operators, Variables, and My Blocks. 4.12.3 Raspberry Pi Simple Electronics Extension.4.12.2 Raspberry Pi Sense HAT Extension.4.11 Go Direct Force & Acceleration Extension.(Block numbers do not include extensions.) In total, there are eight Hat Blocks, five C Blocks, 34 Reporter Blocks, 14 Boolean Blocks, two Cap Blocks and 62 Stack Blocks, for a total of 125 blocks. The list blocks are shown under the Variables Blocks. There are ten categories of blocks: Motion, Looks, Sound, Event, Control, Sensing, Operators, Variables, List, and My Blocks.

However, text-based programming is more flexible, as text can easily be edited without having to drag another block into the editor. Series of connected blocks are called scripts.īlocks are often easier to work with than text-based programming, as blocks do not need to be memorized like typed commands and syntax errors cannot occur. The blocks connect to each other vertically like a jigsaw puzzle, where each block type ( hat, stack, reporter, boolean, or cap) has its own shape and its own slot shape for it to be inserted into, which prevents syntax errors.
#Video blocks code
Blocks are puzzle-piece shapes that are used to create code in Scratch.
