Phaser API Documentation

  Version: 
fire([x], [y])

Description:

Starts this Particle from the given coordinates.

Parameters:

name type arguments description
x number <optional>

The x coordinate to launch this Particle from.

y number <optional>

The y coordinate to launch this Particle from.

Returns:
Description:

true if the Particle is alive, or false if it was spawned inside a DeathZone.

Type:
  • boolean
Since: 3.0.0