Commands

CommandWhat it does
FD 100Move the turtle forward 100 steps.
RT 90Turn the turtle to the right 90º.
LT 90Turn the turtle to the left 90º.
BK 100Move the turtle backwards 100 steps.
PUPut the turtle’s pen up off the paper.
PDPut the turtle’s pen back down on the paper.
CSClear the screen and start over.
HTHide the turtle (triangle).
STShow the turtle (triangle).
REPEAT 3 [...]Repeat the commands 3 times.
HOMEReset the turtle to the centre of the screen.
SETXY 20 20Set the turtle’s X and Y position, relative to the centre.
ARC 90 50Draw a 90º arc with radius 50, centred on the turtle.