A vibrant cartoon landscape with a path leading to a castle, with hot air balloons.
Kids Coding Kit Logo
IF / THEN Logic

In coding, we use IF/THEN to make decisions.

IF something is true, THEN do an action.

The computer asks a question with `IF`. If the answer is yes, it performs the `THEN` action. If not, it does nothing.

Here, the character will only jump `IF` there is an obstacle. See how it works!

Instructions
IF Obstacle Ahead
THEN
Jump
ELSE
character
🚧