Skip to content

getRotation()

Return how far the object is turned.

Parameters

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

item.getRotation()

Returns

return rotation

Value Type Description
rotation int or float The rotation, in degrees from 0 to 360, measured counter-clockwise.