Phaser API Documentation

  Version: 
scaleXY(scaleX, [scaleY], [stepX], [stepY])

Description:

Sets the scaleX, scaleY of each group member.

Parameters:

name type arguments description
scaleX number

The amount to be added to the scaleX property.

scaleY number <optional>

The amount to be added to the scaleY property. If undefined or null it uses the scaleX value.

stepX number <optional>

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

stepY number <optional>

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

Returns:
Description:

This Group object.

Since: 3.21.0