Skip to content

rotate()

Turn the object by an additional angle.

icon.rotate(angle)

The angle is added to the object's current rotation.

Parameters

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