STARLOGO COMMANDS:

 COMMAND EXPLANATION EXAMPLE BK, BACKWARD number Turtle moves backward the number of steps BK 5 CRT, CREATE-TURTLES number Creates the number of turtles CRT 1 CT, CLEAR-TURTLES Clears or kills all of the turtles CT FD, FORWARD number Turtle moves forward the number of steps FD 5 HT, HIDETURTLE Designated turtles are hidden HT IF condition [list of commands] If the condition returns true then the list of commands is executed IF COLOR = PINK [FD 10] IFELSE condition [list of commands1] [list of commands2] If the condition returns true then do the list of commands in list of commands1 otherwise if the condition returns false do the list of commands in commands2 IFELSE COLOR = LIME [FD 5] [BK 5] JUMP number Turtle jumps forward the number of steps JUMP 10 LT, LEFT Turtle turns left the number of degrees LT 90 PD, PENDOWN Turtle puts down its pen and draws when FD or BK are used PD PENDOWN? Returns true if pen is down and false if pen is up. IF PENDOWN? SETC PINK PENUP? Returns true if pen is up and false if pen is down IF PENUP? SETC LIME PU, PENUP Turtle picks up its pen so it don longer draws when it moves PU REPEAT number [list of commands] Do or execute the list of commands the times called for in number REPEAT 4 [FD 10 RT 90] RT, RIGHT number Turtle turns right the number of degrees RT 90 SETC, SETCOLOR color name (or color number can also be used here) Sets the color for a turtle SETC PINK (Pink is also 135) SHOWN? Returns true if the turtle is currently showing otherwise returns false IF SHOWN? [FD 5] ST, SHOWTURTLE Hidden turtles become visible ST Supported colors BLACK, BLUE, BROWN, CYAN, GRAY, GREEN, LIME, MAGENTA, ORANGE, PINK, RED, SKY TURQUOISE, WHITE, YELLOW