# Confuse with particle emitter explode example and docs

**URL:** <https://phaser.discourse.group/t/confuse-with-particle-emitter-explode-example-and-docs/11365>\
**Category:** Phaser 3\
**Created:** [March 8, 2022, 8:31am UTC](https://phaser.discourse.group/t/confuse-with-particle-emitter-explode-example-and-docs/11365 "2022-03-08T08:31:46Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mickeyren](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/mickeyren/32/6264_2.png) [@mickeyren](https://phaser.discourse.group/u/mickeyren)\
**Post date:** [March 8, 2022, 8:31am UTC](https://phaser.discourse.group/t/confuse-with-particle-emitter-explode-example-and-docs/11365/1 "2022-03-08T08:31:46Z")

</div>

Hi

I’m a little confuse why the example, particularly the emit from zone does not pass in any arguments and works with latest phaser build but when i have them in my code, it asks for 3 parameters. count, x and y.

[https://labs.phaser.io/edit.html?src=src/game%20objects/particle%20emitter/emit%20from%20shape.js&v=3.55.2](https://labs.phaser.io/edit.html?src=src/game%20objects/particle%20emitter/emit%20from%20shape.js&v=3.55.2)

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [March 8, 2022, 3:42pm UTC](https://phaser.discourse.group/t/confuse-with-particle-emitter-explode-example-and-docs/11365/2 "2022-03-08T15:42:14Z")

</div>

> [@mickeyren](#):
>
> it asks for 3 parameters. count, x and y.

Show your code please.

---

<div class="post-metadata">

**Author:** ![mickeyren](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/mickeyren/32/6264_2.png) [@mickeyren](https://phaser.discourse.group/u/mickeyren)\
**Post date:** [March 8, 2022, 8:18pm UTC](https://phaser.discourse.group/t/confuse-with-particle-emitter-explode-example-and-docs/11365/3 "2022-03-08T20:18:24Z")

</div>

Hi Samme,

The function itself requires 3 arguments - [phaser/ParticleEmitter.js at v3.55.2 · photonstorm/phaser · GitHub](https://github.com/photonstorm/phaser/blob/v3.55.2/src/gameobjects/particles/ParticleEmitter.js#L1873-L1878)

But the example emit from shape doesn’t pass any argument - [Phaser 3 Examples](https://labs.phaser.io/edit.html?src=src/game%20objects/particle%20emitter/emit%20from%20shape.js&v=3.55.2)

I’m trying to copy over the example to my own code and I’m not able to because of the required arguments.

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [March 8, 2022, 9:33pm UTC](https://phaser.discourse.group/t/confuse-with-particle-emitter-explode-example-and-docs/11365/4 "2022-03-08T21:33:27Z")

</div>

All of the `explode()` arguments are optional, in fact.
