Phaser API Documentation

  Version: 
incX(value, [step])

Description:

Adds the given value to the x of each group member.

Parameters:

name type arguments description
value number

The amount to be added to the x property.

step number <optional>

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

Returns:
Description:

This Group object.

Since: 3.21.0