Difference between revisions of "TurtleForward Command"
From GeoGebra Manual
Line 4: | Line 4: | ||
:The turtle moves forward with given distance. | :The turtle moves forward with given distance. | ||
:{{example| 1=<div>If the turtle is at the origin of the coordinates and the [[File: Animate_Pause.png]]'' Pause'' button is displayed the command <code><nowiki>TurtleForward[turtle, 2]</nowiki></code> moves the turtle to the point (2, 0). Otherwise you must press the [[File: Animate_Play.png]]'' Play'' button so that the displacement is effected.</div>}} | :{{example| 1=<div>If the turtle is at the origin of the coordinates and the [[File: Animate_Pause.png]]'' Pause'' button is displayed the command <code><nowiki>TurtleForward[turtle, 2]</nowiki></code> moves the turtle to the point (2, 0). Otherwise you must press the [[File: Animate_Play.png]]'' Play'' button so that the displacement is effected.</div>}} | ||
+ | |||
+ | {{Note| See also [[Turtle Command|Turtle]], [[TurtleBack Command|TurtleBack]], [[TurtleLeft Command|TurtleLeft]] and [[TurtleRight Command|TurtleRight]] commands.}} |
Revision as of 15:26, 16 September 2014
This page is about a feature that is supported only in GeoGebra 5.0. |
- TurtleForward[ <Turtle>, <Distance> ]
- The turtle moves forward with given distance.
Note: See also Turtle, TurtleBack, TurtleLeft and TurtleRight commands.