Turns by an angle in degrees relative to the current heading.
object expression.Turn (Angle)
object expression Required. An object expression that evaluates to an object in the Applies To list.
Angle Required Double. Angle to turn in degrees, measured from the Bot's current direction.
To turn left, specify a negative value for Angle. To turn right, specify a positive value for Angle.
After the Turn method is executed, the Bot object's Dir property is incremented by Angle.
The following example uses the Turn method to draw a star shape.
Bot.Pen.Color = vbtBlueGrey
Bot.Pen.Down
For Segment = 1 To 5
Bot.Step 80
Bot.Turn 144
Next Segment