Commands

The commands allow you to tell the turtle what to do, for example fd 100 sends the turtle forward 100 pixels.

Here are some MW Commands to use in your projects.

  • try these out and if you figure out what they do, write a brief description next to the command.
  • remember that most commands need an input number or value to work. (which commands don't?)
  • Have you discovered any new commands to use? What are they? Add them to this list

ht is to hide the turtle. (from Alberto)

pe- pen erase

setx- set the x coordinate -Keith 6/7Z

sety- set the y coordinate -Ethan 6/7 E (2013)

setpensize- set pen size #1,2,3, etc -Deena 6/7Z

setopacity- Set how clear your turtle is--Willie 6/7W

setc- set color

setpos- Set the position- Kate 6/7 B

cc-clear command color

setsize- set the size of the turtle(Josepha)

fill- fills in the shape with a color - Kate 6/7 B. A lot of people are having trouble with fill. You need to be inside the shape and just type in fill, and it will fill the shape. It won't work if you are on a line or on the perimeter! You don't need your pen to be down when you fill. It is best if it is not down when you fill, because it will fill the line you are on. Pay attention. - Ethan 6/7 E (2013)

pd- pen down

pu- pen up

cg- clear graphics (Jordan C. 6/7 A)

wait-wait(Nellie f 6/7B)

bk- Back (Imani, 6/7 Y)

showpos- This shows the the position of the turtle in (x,y) coordinates. (Karl G.)

seth- Set heading(Hannah, 6/7 Z)

fd- Forward (Hannah, 6/7 Z)

everyone [clickon]-everyone does the certain thing when you click the button(Nellie f. 6/7B)

everyone [clickoff]-all turtles stop moving when you click the button (Claudia h 6/7 X)

st- show turtle (Nathan M. 6/7 B)

HOME- It is when the turtle goes to its original coordinates [ 0,0 ] ( ThiernoD 6/7W)

Share Your Favorite Turtle Dance Moves!!! Turtle_looks.gif


fd 20 bk 20 rt 15 lt 30 -(Keiths 6/7Z)
lt 6 rt 10 -Sid 6/7z
fd 2 rt 2 lt 3 rt 4 (JakeM 6/7Y)
fd 10 lt 5 (MattP 6/7Y)
RT 70 LT 65 WAIT 1 ( DarianG 6/7Y)
SETH 90 WAIT 1 SETH 270 WAIT 1-(AlexiM 6/7Y)
fd 20 bk 20 wait 2 -(MiaM 6/7B)
rt 90 wait 1 lt 120 wait 2 (EmilyV3 6/7B)
pd fd 20 lt 40 fd 100 rt 605 lt 5 fd 25 rt 80 fd 7 lt 2004 fd 48. You also have to make it go forever. (Josh Smirman 6/7 X)
pd repeat 1000 [fd 70 rt 100] Nicholas G 6/7B


pd repeat 5[fd 50 rt 360 / 5]- (Joseph A. 6/7B)
fd 10 bk 10 -Hannah Krutiansky 6/7 W

rt 50 lt 20 wait 1 {Francesca O. 6/7 X}

Benjamin: rt 7.8 rt 4 fd 0.5 bk 7 6/7 W

RT 95 LT 199 WAIT 9 Karl G.
FD 20 RT 20 LT 30- (Andrea N. 6/7w)

RT 70 LT 65 wait 1 (SaraF 6/7E)

LT 180 BK 96 (Jordan C. 6/7 A)


FD 3 BK 3 (Jeancarlo H. 6/7 A)


rt 500 random 9999 (Hamlet C. 6/7C/

pd repeat 360 [ fd 100 rt 360 / 360 (Julian 6/7 d) pd repeat 4 [ fd 150 rt 90 setc random 9999] (hamlet 6/7 c)



rt 20 wait 1 lt 30 ( Breyana A. 6/7B)

Lt 180 bk 80 {Abieo 6/7E}

This is my easiest and favorite command

to square
pu
setpos [-131 -134]
pd repeat 4 [fd 150
rt 360 / 4]

-Abie 6/7E

Cool ART!

to startPosition
pu setc 9 seth 0 setpos [-118 -110]
end

to windowPosition1
lt 90 fd 5 rt 90 fd 30 lt 90 fd 50 rt 90
end

to windowBuild
pd
setc 27
repeat 4 [fd 40 rt 90]
windowFrame fd 20 windowFrame
repeat 2 [fd 20 rt 90 fd 40 rt 90 windowFrame] pu
end

to windowFrame
pd
repeat 4 [fd 20 rt 90]
pu
end

to windowPosition2
bk 20 rt 90 fd 100 lt 90
end

to windowsRow1
windowPosition1
windowBuild
windowPosition2
windowBuild
end

to windowPosition3
lt 90 fd 100 rt 90 fd 40
end

to windowsRow2
windowPosition3
windowBuild
windowPosition2
windowBuild
end

to allWindowsBuild
windowsRow1
windowsRow2
end

to coolArt
startPosition repeat 50 [allWindowsBuild]
end

-Ethan 6/7 E (2013)