Difference between revisions of "TurtleLeft Command"

From GeoGebra Manual
Jump to: navigation, search
(typo)
Line 3: Line 3:
 
;TurtleLeft[ <Turtle>, <Angle> ]
 
;TurtleLeft[ <Turtle>, <Angle> ]
 
:The turtle turns to the left by a given angle.   
 
:The turtle turns to the left by a given angle.   
:{{example| 1=<code><nowiki>TurtleLeft[turtle, 1]</nowiki></code> turns the turtle to the left by 1 rad,  if [[File: Animate_Pause.png]]'' Pause'' button is displayed,
+
:{{example| 1=<div><code><nowiki>TurtleLeft[turtle, 1]</nowiki></code> turns the turtle to the left by 1 rad,  if [[File: Animate_Pause.png]]'' Pause'' button is displayed, otherwise you must press the [[File: Animate_Play.png]]'' Play'' button so that the rotation is effected.</div><br/>
:: otherwise you must press the [[File: Animate_Play.png]]'' Play'' button so that the rotation is effected.<br/>
 
 
:: {{Note| 1=If you enter <code><nowiki>TurtleLeft[turtle, 1°]</nowiki></code> the turtle turns to the left by 1 degree. }}}}
 
:: {{Note| 1=If you enter <code><nowiki>TurtleLeft[turtle, 1°]</nowiki></code> the turtle turns to the left by 1 degree. }}}}

Revision as of 10:56, 29 July 2014



TurtleLeft[ <Turtle>, <Angle> ]
The turtle turns to the left by a given angle.
Example:
TurtleLeft[turtle, 1] turns the turtle to the left by 1 rad, if Animate Pause.png Pause button is displayed, otherwise you must press the Animate Play.png Play button so that the rotation is effected.

Note: If you enter TurtleLeft[turtle, 1°] the turtle turns to the left by 1 degree.
© 2024 International GeoGebra Institute