Phaser API Documentation

  Version: 

Member of: Phaser.GameObjects

<static> BuildGameObject(scene, gameObject, config)

Description:

Builds a Game Object using the provided configuration object.

Parameters:

name type description
scene Phaser.Scene

A reference to the Scene.

gameObject Phaser.GameObjects.GameObject

The initial GameObject.

config Phaser.Types.GameObjects.GameObjectConfig

The config to build the GameObject with.

Returns:
Description:

The built Game Object.

Examples:
Since: 3.0.0