Difference between revisions of "TurtleRight Command"
From GeoGebra Manual
({{command|scripting}} not {{command|3D}}) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|scripting}} | ||
− | ;TurtleRight | + | ;TurtleRight( <Turtle>, <Angle> ) |
:The turtle turns to the right by a given angle. | :The turtle turns to the right by a given angle. | ||
:{{example| 1=<code><nowiki>TurtleRight[turtle, 1]</nowiki></code> turns the turtle to the right by 1 rad, if [[File: Animate_Pause.png|link=]]'' Pause'' button is displayed. Otherwise you must press the [[File: Animate_Play.png|link=]]'' Play'' button so that the rotation is effected. <br/> | :{{example| 1=<code><nowiki>TurtleRight[turtle, 1]</nowiki></code> turns the turtle to the right by 1 rad, if [[File: Animate_Pause.png|link=]]'' Pause'' button is displayed. Otherwise you must press the [[File: Animate_Play.png|link=]]'' Play'' button so that the rotation is effected. <br/> |
Revision as of 16:17, 7 October 2017
- TurtleRight( <Turtle>, <Angle> )
- The turtle turns to the right by a given angle.
- Example:
TurtleRight[turtle, 1]
turns the turtle to the right by 1 rad, if Pause button is displayed. Otherwise you must press the Play button so that the rotation is effected.
- Note: If you enter
TurtleRight[turtle, 1°]
the turtle turns to the right by 1 degree.
Note: See also Turtle, TurtleBack, TurtleForward and TurtleLeft commands.