- forward number fd 50
Moves the turtle forward number of steps in the direction it is currently facing.
- back number bk 100
Moves the turtle backwards number of steps in the direction it is currently facing.
- right number rt 90
Turns the turtle towards the right in relation to the direction it is currently facing.
- left number lt 45
Turns the turtle towards the left in relation to the direction it is currently facing.
- clearscreen cs
Erases the drawing area.
- showturtle st
The turtle is visible on screen.
- hideturtle ht
The turtle is invisible (drawing is faster).
- penup pu
The turtle won’t draw a line when it moves.
- pendown pd
The turtle will draw a line when it moves.
- repeat integer list repeat 5[fd 50 rt 45]
Repeat instructions contained in the list.