Home Project Folders Resources How Do I? MWForum
Site Map Search Our Team
How do I make a turtle do the same thing many times?
Method 1:   Many Times (in the turtle's dialog box). See Bouncing Off Walls 1.

Writing an instruction in the turtle's dialog box and setting it to many times has the same effect as forever [instruction]. Right-click on the turtle to open its dialog box.

Method 2:   Use forever. See Squares 2.

to go
forever [fd 1 rt 1]
end

to loops
forever [fd 1 rt direct]
end
What happens when you click go, then stopall? What happens when you click loops and move the direct slider? What happens when you click both buttons and move the slider?

Method 3:   Use repeat. See Animate Me 1.

to circle
repeat 360 [fd 1 rt 1]
end

to circle?
repeat 360 [fd 1 rt direct]
end
Click circle. What happens when you click circle? and move the direct slider? What happens when you click both buttons and move the slider?

« Previous Menu Next »


© copyright 2001 - 2006  OpenWorld Learning (OWL).   All rights reserved.