Users Manual

CLASS 2
12
Intro to conditional sentences
Click the ‘Observation’ tab and drag the ‘Click ___key’ block to the script.
Now, drag the ‘Click___key’ block into the ‘if or else’ block.
The conditions would be whether the spacebar is pressed or
not
Now, this code tells us that when the spacebar is pressed, it
starts motor4 or else it gets turned off.
But, it does not start when the spacebar is pressed. Let’s find
out why.
Windmill using conditional sentences