Phaser API Documentation

name type arguments Default description
start number <optional> 0

The value to start the stagger from. Can be used as a way to offset the stagger while still using a range for the value.

ease string | function <optional> 'Linear'

An ease to apply across the staggered values. Can either be a string, such as 'sine.inout', or a function.

from string | number <optional> 0

The index to start the stagger from. Can be the strings first, last or center, or an integer representing the stagger position.

grid Array.<number> <optional>

Set the stagger to run across a grid by providing an array where element 0 is the width of the grid and element 1 is the height. Combine with the 'from' property to control direction.

Since: 3.19.0