Phaser API Documentation

  Version: 
<static> DeepCopy(obj)

Description:

Deep Copy the given object or array.

Parameters:

name type description
obj object

The object to deep copy.

Returns:
Description:

A deep copy of the original object.

Type:
  • object
Since: 3.50.0