Difference between revisions of "TurtleForward Command"
From GeoGebra Manual
m |
({{command|scripting}} not {{command|3D}}) |
||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command| | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} |
;TurtleForward[ <Turtle>, <Distance> ] | ;TurtleForward[ <Turtle>, <Distance> ] | ||
:The turtle moves forward with given distance. | :The turtle moves forward with given distance. |
Revision as of 17:35, 23 September 2015
- TurtleForward[ <Turtle>, <Distance> ]
- The turtle moves forward with given distance.
- Example: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.
Note: See also Turtle, TurtleBack, TurtleLeft and TurtleRight commands.