Phaser API Documentation

  Version: 
setRotation([radians])

Description:

Sets the rotation of this Game Object.

Parameters:

name type arguments description
radians number <optional>

The rotation of this Game Object, in radians.

Returns:
Description:

This Game Object instance.

Since: 3.0.0