rotate(a?: number): RotateComp

Rotates a Game Object (in degrees).

paramThe angle to rotate by. Defaults to 0.

kaplay logo