existing(object) → {any}
Adds an existing display object to the game world.
Parameters
Name | Type | Description |
---|---|---|
object | any | An instance of Phaser.Sprite, Phaser.Button or any other display object. |
Returns
any -
The child that was added to the World.
- Source code: gameobjects/GameObjectFactory.js (Line 35)
Please login to continue.