Phaser API Documentation

  Version: 
wrapArray(objects, [padding])

Description:

Wrap each object's coordinates within Phaser.Physics.Arcade.World#bounds.

Parameters:

name type arguments description
objects Array.<*>

An array of objects to be wrapped.

padding number <optional>

An amount added to the boundary.

Examples:
Since: 3.3.0