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

Ui blocks

Create buttons, labels and inputs. UI blocks create interface elements that sit on top of the game so you can build menus and controls visually.

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

What Ui is for

UI blocks create interface elements that sit on top of the game so you can build menus and controls visually.

The built-in Ui category starts with 5 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.

blockscreate button id text
create label id text
create text input id
set UI element text
remove UI element
SCHX / FEATURE LAYER

Try this tiny recipe

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

1

Create a label or button with a clear id.

2

Change its text from another block.

3

Remove it when the scene ends.

SCHX / FEATURE LAYER

How it becomes a real game

When the project is materialized, supported Ui 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