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

Motion blocks

Move, turn and place sprites. Motion controls a spriteโ€™s position and direction on the Stage. Start with small values so it is easy to see what changed.

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

What Motion is for

Motion controls a spriteโ€™s position and direction on the Stage. Start with small values so it is easy to see what changed.

The built-in Motion category starts with 10 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.

blocksmove steps
turn degrees
set x to
set y to
change x by
change y by
go to x y
glide seconds to x y
SCHX / FEATURE LAYER

Try this tiny recipe

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

1

Start with โ€œwhen green flag clickedโ€.

2

Add โ€œmove stepsโ€ and use a small number such as 20.

3

Add โ€œif on edge, bounceโ€ when making a simple patrol.

SCHX / FEATURE LAYER

How it becomes a real game

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