instance property Component#rotation
Component#rotation → Number
The rotation value of the Component
in radians. Note that the
Component#x
, Component#y
properties, and values returned
from Component#left
, Component#right
, Component#top
,
and Component#bottom
are not affected by this value. Therefore,
any calculations that require the rotation to be a factor, your game code
must calculate itself.