(^82) THE OFFICIAL RASPBERRY PI BEGINNER'S GUIDE
To create more swimmers, add a repeat 6 block – changing from the default value of ‘10’
- and add a create clone of myself Control block inside it. To make it so the swimmers aren’t
all swimming in the same direction, add a turn 60 degrees block above the create clone
block but still inside the repeat 6 block. Click the green flag, and try the arrow keys now to
see your swimmers come to life!
when left arrow key pressed
switch costume to leftturn^15 degreeswhen right arrow key pressed
switch costume to rightturn^15 degreeswhen up arrow key pressed
move^10 stepswhen down arrow key pressedmove -10 stepswhen clickedgotox:^0 y:^0point indirection^90
repeat^6turn^60 degreescreate cloneof myself