You can move the turtle by clicking and dragging it!


But, you likely want to code it to move!


The turtle already understands some commands. These are called primitives.

forward or fd (See an example here.)

back or bk

right or rt

left or lt


These primitives are followed by numbers — either distance in pixels (for forward and back) or angle (for right and left)


You can also change the direction of the turtle with the setheading (seth) command.


pendown (pd) and penup (pu) are often used to draw.