Wrap each object's coordinates within Phaser.Physics.Arcade.World#bounds.
name | type | arguments | description |
---|---|---|---|
objects | Array.<*> |
An array of objects to be wrapped. |
|
padding | number | <optional> |
An amount added to the boundary. |