Takes an array of Game Objects and positions them at random locations within the Rectangle.
name | type | description |
---|---|---|
items | array | Array.<Phaser.GameObjects.GameObject> |
An array of Game Objects. The contents of this array are updated by this Action. |
rect | Phaser.Geom.Rectangle |
The Rectangle to position the Game Objects within. |
The array of Game Objects that was passed to this Action.