Difference between revisions of "TurtleBack Command"

From GeoGebra Manual
Jump to: navigation, search
Line 4: Line 4:
 
:The turtle moves back with given 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]]'' 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]]'' 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>TurtleBack[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]],  [[TurtleForward Command|TurtleForward]],  [[TurtleLeft Command|TurtleLeft]] and  [[TurtleRight Command|TurtleRight]] commands.}}

Revision as of 16:33, 16 September 2014



TurtleBack[ <Turtle>, <Distance> ]
The turtle moves back 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 TurtleBack[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, TurtleForward, TurtleLeft and TurtleRight commands.
© 2024 International GeoGebra Institute