Phaser API Documentation

  Version: 
rotateAround(point, angle)

Description:

Rotates each group member around the given point by the given angle.

Parameters:

name type description
point Phaser.Types.Math.Vector2Like

Any object with public x and y properties.

angle number

The angle to rotate by, in radians.

Returns:
Description:

This Group object.

Since: 3.21.0