Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Utils.Objects
<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
Source:
src/utils/object/DeepCopy.js
(Line
7
)
Possible examples