The array of items to be updated by this action.
The position to align the items with. This is an align constant, such as Phaser.Display.Align.LEFT_CENTER.
OptionaloffsetX: numberOptional horizontal offset from the position. Default 0.
OptionaloffsetY: numberOptional vertical offset from the position. Default 0.
Takes an array of Game Objects and aligns them next to each other.
The alignment position is controlled by the
positionparameter, which should be one of the Phaser.Display.Align constants, such asPhaser.Display.Align.TOP_LEFT,Phaser.Display.Align.TOP_CENTER, etc.The first item isn't moved. The second item is aligned next to the first, then the third next to the second, and so on.