Wrap each item's coordinates within a rectangle's area.
name | type | arguments | 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. |
|
padding | number | <optional> |
An amount added to each side of the rectangle during the operation. |
The array of Game Objects that was passed to this Action.