Skip to content

rotate()

Turn the object by adding to its current rotation.

Parameters

Once an object item has been created, you can use the following functions:

item.rotate(angle)
Parameter Type Default Description
angle int or float required How far to turn, in degrees, counter-clockwise.