TurtleForward Command

From GeoGebra Manual
Jump to: navigation, search


TurtleForward( <Turtle>, <Distance> )
The turtle moves forward with given distance.
Example:
If the turtle is at the origin of the coordinates and the Animate Pause.png Pause button is displayed the command TurtleForward(turtle, 2) moves the turtle to the point (2, 0). Otherwise you must press the Animate Play.png Play button so that the displacement is effected.


Note: See also Turtle, TurtleBack, TurtleLeft and TurtleRight commands.
  • GeoGebra
  • Help
  • Partners
  • Contact us
    • Feedback & Questions
    • This email address is being protected from spambots. You need JavaScript enabled to view it.
    • +43 677 6137 2693
© 2017 International GeoGebra Institute