turtle.Turtle.settiltangle¶
-
Turtle.settiltangle(angle)¶ Rotate the turtleshape to point in the specified direction
Optional argument: angle – number
Rotate the turtleshape to point in the direction specified by angle, regardless of its current tilt-angle. DO NOT change the turtle’s heading (direction of movement).
Examples (for a Turtle instance named turtle): >>> turtle.shape(“circle”) >>> turtle.shapesize(5,2) >>> turtle.settiltangle(45) >>> stamp() >>> turtle.fd(50) >>> turtle.settiltangle(-45) >>> stamp() >>> turtle.fd(50)