TurtleForward Command
- TurtleForward( <Turtle>, <Distance> )
-
The turtle moves forward with given distance.
If the turtle is at the origin of the coordinates and the
Pause button is displayed the command TurtleForward(turtle, 2)
moves the turtle to the point (2, 0). Otherwise
you must press the Play button so that the displacement is
effected.
See also Turtle, TurtleBack, TurtleLeft and TurtleRight commands. |