Rotate Command Example

Details

Action

Turns the heading of the turtle through the specified angle.

rotate 90
turns the heading of the turtle through 90° in a counter clockwise direction.