Phaser API Documentation

  Version: 
setAngle([degrees])

Description:

Sets the angle of this Game Object.

Parameters:

name type arguments description
degrees number <optional>

The rotation of this Game Object, in degrees.

Returns:
Description:

This Game Object instance.

Since: 3.0.0