Variables blocks is one of two subcategories of data blocks. They are color-coded orange, and are used to hold values and strings in variables, as well as display them using monitors.
There are currently 5 Variables blocks: 4 Stack blocks and 1 Reporter block.
In Scratch 1.4, this category was one of the main categories, taking place of Data. However, it also used to contain List blocks, which are another current subcategory of Data.
| Note: ||Click on a block to learn more about it!|
Variables can also be used in operator blocks.
Scratch 2.0 has the following 4 Variables Stack blocks:
Scratch 2.0 has the following 1 Variables Reporter block:
- Main article: List Blocks
In Scratch 1.4, List blocks were a subcategory of the Variables category. They are color-coded red, and are used to hold values and strings.