Get Rotation 2D

Gets the rotation (Z axis only, in Euler angles) of the specified object.