Lists blocks
Keep groups of values. Lists hold many items under one name. They are useful for inventories, level data, collected items and queues.
What Lists is for
Lists hold many items under one name. They are useful for inventories, level data, collected items and queues.
The built-in Lists category starts with 4 core block shapes and is expanded by the larger generated catalog, so you can learn a small vocabulary before exploring specialized variants.
Core blocks you will see
These names come from the current RC Blocks Studio catalog. Start with the first two or three and ignore the rest until your project needs them.
blocksadd item to list
delete item number from list
delete all of list
save list length to variableTry this tiny recipe
Build the smallest possible experiment so you can see what this category changes.
Add three items to a list.
Save the list length into a variable.
Clear the list and compare the new length.
How it becomes a real game
When the project is materialized, supported Lists opcodes are compiled into the generated browser runtime rather than remaining visual-only editor decorations.
That means the same block idea can affect the full RC project when you Save and Run project.