How-To Guide
SCRATCH CODING KIT
Loop and Random Numbers
How to Code a Wiggly Lizard Robot
If you activate the script we have been making, the lizard robot will stop after moving once, so it cannot move
forward!
Therfore, we need something that will repeat the program. It’s loop!
Look at the picture on your right. You have to add a block, so
the left and right motors are keep activated.
But, the right picture is not right. This will not give some time for
the lizard robot to stop after the movement of the right motor.
So we will need to give some time for it to stop in between!
Way to go, lizard
robot!
Left motor
Right motor
Program off