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

Events blocks

Start scripts when something happens. Use Events to decide when a script should begin. A game usually has several independent event stacks.

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

What Events is for

Use Events to decide when a script should begin. A game usually has several independent event stacks.

The built-in Events category starts with 6 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.

blockswhen green flag clicked
every frame
when this sprite clicked
when key pressed
when I receive message
every seconds
SCHX / FEATURE LAYER

Try this tiny recipe

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

1

Add โ€œwhen green flag clickedโ€.

2

Snap one visible action underneath it.

3

Press Green Flag and confirm the action runs once.

SCHX / FEATURE LAYER

How it becomes a real game

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