C++ SCHX ยท rev 4
Lists blocks ยท Beginner

Lists blocks

Keep groups of values. Lists hold many items under one name. They are useful for inventories, level data, collected items and queues.

12 minreading time
Beginnerdifficulty
MODU docssource
SCHX nativeruntime
SCHX / FEATURE LAYER

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.

SCHX / FEATURE LAYER

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 variable
SCHX / FEATURE LAYER

Try this tiny recipe

Build the smallest possible experiment so you can see what this category changes.

1

Add three items to a list.

2

Save the list length into a variable.

3

Clear the list and compare the new length.

SCHX / FEATURE LAYER

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.

SCHX / FEATURE LAYER

Related guides