Blocks are puzzle-piece shapes that are used to create code in Scratch. The blocks connect to each other vertically like a jigsaw puzzle, where each data type (hat block
, stack block, reporter block, boolean block
, or cap block
) has its own shape and a specially shaped slot for it to be inserted into, which prevents syntax errors.