Variables blocks
Remember changing values. Variables are named boxes for values such as score, lives, speed or a player name.
What Variables is for
Variables are named boxes for values such as score, lives, speed or a player name.
The built-in Variables 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.
blocksset variable to value
change variable by
show variable monitor
hide variable monitorTry this tiny recipe
Build the smallest possible experiment so you can see what this category changes.
Create a score variable.
Set it to 0 when the game starts.
Change it when something good happens.
How it becomes a real game
When the project is materialized, supported Variables 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.