Primitive |
Alt |
Action |
SetTurtle xx
Turtles
EraseTurtle xx
SetTurtleMax |
STurtle
ErT
SetTM |
Set the active turtle to number xx.
Return a list of all turtles on screen.
Erase turtle number xx.
Set maximum number of turtles allowed. |
Underlined Set can be removed from a primitive name in order to return information.
eg. SetHeading sets the heading of the turtle. Heading returns the heading of the turtle.
Note
- XLogo can use more than one turtle. You can switch from turtle to
turtle to control each one individually. You cannot control more than
one turtle simultaneously. The turtle currently under control is called
the active turtle.
- SetTurtle XX will create a new turtle if the number XX doesn't already
exist. Otherwise makes turtle XX the active turtle.
- New turtles always start in the home position with their pen down
and hidden.
- Turtle number 0 is always on screen and cannot be erased.
- Multiple turtles can be used in Perspective mode too.