Phaser API Documentation

  Version: 
createGravityWell(config)

Description:

Creates a new Gravity Well, adds it to this Emitter Manager and returns a reference to it.

Parameters:

name type description
config Phaser.Types.GameObjects.Particles.GravityWellConfig

Configuration settings for the Gravity Well to create.

Returns:
Description:

The Gravity Well that was created.

Examples: