Phaser API Documentation

  Version: 
rotate(value, [step])

Description:

Sets the rotation of each group member.

Parameters:

name type arguments description
value number

The amount to set the rotation to, in radians.

step number <optional>

This is added to the value amount, multiplied by the iteration counter.

Returns:
Description:

This Group object.

Since: 3.21.0