Syntax: hideturtle() (no argument)
Get Status
isvisible()
Returns the current turtle show/hide status (Show: True, Hide: False).
Syntax: isvisible() (no argument)
isdown()
Returns the current pen state (Pen down: True, Pen up: False).
Syntax: isdown() (no argument)
xcor()
Returns the x -coordinate of the turtle's current location.
Syntax: xcor() (no argument)
ycor()
Returns the y -coordinate of the turtle's current location.
Syntax: ycor() (no argument)
position()
Returns the turtle's current location ( x , y coordinates).
Syntax: position() (no argument)
distance(,)
Returns the linear distance from the turtle's current location to the specified coordinate.
Syntax: distance( x , y )
• x , y arguments: Specify the coordinates ( x , y ) of the point to which you want to check the linear distance
from the turtle's current location.
- x , y type: int or float
towards(,)
Returns the angle of the arc created by the current turtle location and the specified coordinates (See Note
below).
Syntax: towards( x , y )
• x , y arguments: Specify the coordinates ( x , y ) at which you want to check the angle with the current turtle
location.
- x , y type: int or float
135
Need help?
Do you have a question about the CLASSWIZ CG and is the answer not in the manual?
Questions and answers