Difference between revisions of "TurtleBack Command"
From GeoGebra Manual
(command syntax: changed [ ] into ( )) |
|||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command| | + | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} |
+ | ;TurtleBack( <Turtle>, <Distance> ) | ||
+ | :The turtle moves back with given distance. | ||
+ | :{{example| 1=<div>If the turtle is at the origin of the coordinates and the [[File: Animate_Pause.png|link=]]'' Pause'' button is displayed the command <code><nowiki>TurtleBack(turtle, 2)</nowiki></code> moves the turtle to the point (-2, 0). Otherwise you must press the [[File: Animate_Play.png|link=]]'' Play'' button so that the displacement is effected.</div>}} | ||
− | + | {{Note| See also [[Turtle Command|Turtle]], [[TurtleForward Command|TurtleForward]], [[TurtleLeft Command|TurtleLeft]] and [[TurtleRight Command|TurtleRight]] commands.}} | |
− | |||
− |
Latest revision as of 09:21, 12 October 2017
- TurtleBack( <Turtle>, <Distance> )
- The turtle moves back with given distance.
- Example:If the turtle is at the origin of the coordinates and the Pause button is displayed the command
TurtleBack(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, TurtleForward, TurtleLeft and TurtleRight commands.