- "Categories" redirects here. For help with categories on the Wiki, see Help:Categories.
- This article is about the block categories in the Block Palette. For the project categories, see Tags.
Block categories have provided a user-friendly way of sorting blocks ever since the release of Scratch. Blocks are categorized based on their functionality, and blocks within the same category share the same color. The separation of color among categories can allow better distinction of the parts of a project, as well as increase the ease of access. The following are the block categories as of Scratch 3.0:
- Main article: Motion Blocks
Motion blocks deal with the movement of sprites. They relate mainly to the x and y position and direction of the sprite, as almost all the blocks correspond to them. The Stage does not contain any Motion blocks since it is a still object. There are currently 18 motion blocks: 15 stack blocks and 3 reporter blocks.
- Main article: Looks Blocks
Looks blocks are related to the appearance of sprites and the stage. Some of the functionalities are changing costumes and applying graphic effects. There are currently 20 Looks blocks: 17 stack blocks and 3 reporter blocks. 14 are only for sprites, and 4 are only for the Stage.
- Main article: Sound Blocks
- Main article: Event Blocks
Events blocks are related to various triggers in a project, or when one part signals another to run. The Events blocks used to be part of the Control category prior to Scratch 2.0. The "Events" category consists mostly of hat blocks. There are currently 8 Events blocks: 6 hat blocks and 2 stack blocks.
- Main article: Control Blocks
Control blocks run the basic flow of a project in the desired fashion, whether it be organized or unexpected. They provide functions for looping various blocks and scripts. They "control" the project and enhance its running. There are currently 11 Control blocks: 1 hat block, 5 C Blocks, 3 stack blocks and 2 cap blocks.
- Main article: Sensing Blocks
Sensing blocks associate with sprites and the stage detecting conditions. For example, sensing blocks can be used to detect when one sprite touches another. They consist of many booleans and can work with Control blocks to stabilize a project' a flow. There are currently 18 Sensing blocks: 3 stack blocks, 5 boolean blocks and 10 reporter blocks. There are currently 18 sensing blocks: 3 stack blocks, 5 boolean blocks and 10 reporter blocks.
- Main article: Operators Blocks
Operators blocks, originally called "Numbers" blocks before Scratch 1.4, deal with many mathematical functions within a project. They are a green color and provide the capabilities of simple to complex mathematical operations. "Operators" also contains blocks for modifying strings and implementing them into various uses. There are some boolean blocks, too, in which some are related to mathematical outputs, while others are used for adjoining other booleans into one or a different output condition. There are currently 18 operators blocks: 7 boolean blocks and 11 reporter blocks.
- Main article: Variables Blocks
Variables blocks include two subcategories, Variables and Lists, but both are related to storing and accessing data. This category was called Data in 2.0. Variables blocks are used for storing information, such as a score in a project, and using it in scripting and other beneficial purposes.
- Main article: Variables Blocks (subcategory)
Variables are a subcategory of Data blocks. They become visible once a variable, a changeable value, is created. Variables can be local (only available to the sprite it was made in) or global (available to all sprites and the stage). If a variable is made while in the stage, it is automatically a global variable. They are color-coded orange and currently consist of four stack blocks and 1 reporter block.
||This article or section is about or uses Cloud Data. Users with the New Scratcher status or ones who are using the Offline Editor cannot make projects using Cloud Data or use it in other users' projects. New Scratchers need to have Scratcher status. Offline editor users need to use the online editor.|
- Main article: Cloud Data
Another type of variables are called cloud variables. Cloud variables saves data to the Scratch servers. Cloud variables are automatically global variables; this cannot be changed. New Scratchers cannot create cloud variables, nor use them. Cloud variables only supports numbers, not letters or symbols. There is maximum of 10 cloud variables.
- Main article: Lists
- Main article: My Blocks
My blocks, orginally called More Blocks in 2.0, are blocks that hold custom procedures for a selected sprite. The blocks are useful for running a script without screen refresh and organization of the scripts. It is also possible to add boolean and number and string inputs to the My Block.
- Main article: Scratch Extension
There are many extensions in Scratch that provide additional elements to the editor or allow connection to the physical world.
- Main article: Pen Blocks
Pen blocks are related to a sprite's pen, which is a feature that allows a line to be to be drawn in accordance with a sprite's location (the line or "pen" is always at the costume center of the sprite it is in). The blocks are associated with turning the pen on and off, stamping a sprite's image onto the stage, and adjusting the various appearance values of the pen. There are 9 pen blocks, which are all stack blocks.