How-To Guide

SCRATCH CODING KIT
How to Code the Lizard Robot
Just like we learned before, we can use the keyboard to edit the numbers on the blocks.
Drag the green random number block into the ‘Wait’ block to make the script below.
If you activate the script, the lizard robot will move for a random amount of time between 1 and 5 seconds. This
is how you use the random number to activate a robot for a random amount of time. Now, we will learn about
‘Loop,’ which can repeat a robot’s movement.
Random Numbers and Coding