From Test-Scratch-Wiki
Data blocks is one of the ten categories of Scratch 2.0 blocks. The variable blocks are color-coded orange, and the list blocks are color-coded dark red.
There are currently 10 Stack blocks, four Reporter blocks, and one Boolean block in this category.
Blocks
Note: | Click on a block to learn more about it! |
Variables
- Main article: Variables Blocks
Scratch 2.0 has the following two Variables Stack blocks:
set [variable v] to (0)
change [variable v] by (1)
show variable [variable v]
hide variable [variable v]
Scratch 2.0 has the following Variables Reporter block:
List
- Main article: List Blocks
Scratch 2.0 has the following six List Stack blocks:
add [thing] to [list v]
delete (1 v) of [list v]
insert [thing] at (1 v) of [list v]
replace item (1 v) of [list v] with [thing]
show list [list v]
hide list [list v]
Scratch 2.0 has the following three List Reporter blocks:
Scratch 2.0 has the following List Boolean block:
See Also
Variables Blocks | |
List Blocks |