Lists
Jump to navigation
Jump to search
Lists is a subcategory of the Variables category, originating from Scratch. Using the Data Category Tweaks addon originating from TurboWarp, one could split this and the Variables subcategory apart. However, the Data Category Tweaks addon was removed in a PenguinMod, and its separate sprite-only variables and separate list category settings are always on.
Like the blocks in the Variables subcategory, the blocks in this subcategory only appear after the creation of a list.
Blocks
Scratch Blocks
my list::list reporter
add [thing] to [my list v]
delete (1) of [my list v]
delete all of [my list v]
insert [thing] at (1) of [my list v]
- replace item () of () with ()
- item () of ()
- item # of () in ()
- length of ()
- () contains ()?
- show list ()
- hide list ()
PenguinMod
shift [ v] by (1)::list
- for each item () in ()
- for each item
- amount of () in ()
- Item () exists in ()
- is () empty?
- reverse ()
- set list () to array ()
- get list () as an array
v • e Categories Nav | |
---|---|
Vanilla | Motion · Looks · Sound · Variables (Variables · Lists) · Events · Control · Sensing · Operators · My Blocks |