# ParticleEmitterManager using wrong texture frame

**URL:** <https://phaser.discourse.group/t/particleemittermanager-using-wrong-texture-frame/12559>\
**Category:** Phaser 3\
**Created:** [November 16, 2022, 2:16pm UTC](https://phaser.discourse.group/t/particleemittermanager-using-wrong-texture-frame/12559 "2022-11-16T14:16:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MickeyKnox](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@MickeyKnox](https://phaser.discourse.group/u/MickeyKnox)\
**Post date:** [November 16, 2022, 2:16pm UTC](https://phaser.discourse.group/t/particleemittermanager-using-wrong-texture-frame/12559/1 "2022-11-16T14:16:45Z")

</div>

I have this spritesheet, a white point and a black point:

![effects](https://global.discourse-cdn.com/free1/uploads/phaser1/original/2X/b/b88f2a4ea9024e8421bab0b291e21ff61a52df3b.png)

(The white point is not visible on the white background)

I load it like this:

```javascript
this.load.spritesheet('effects', 'effects.png', { frameWidth: 8, frameHeight: 8 });

```

And then I use it for particles:

```javascript
let particles = getScene().add.particles('effects', 1);

```

I want to select the black point. The black point is second in the image. However, this code does select the white point.

If I change the 1 for a 2, I get an error in the console:

> Texture.frame missing: 2

Makes sense. The emitted particles are solid white now (not my white point). If I change the frame to 0, there is no error but I get the same solid white.

What is going on here?

How can I make particles use the black point?

---

<div class="post-metadata">

**Author:** ![MickeyKnox](https://avatars.discourse-cdn.com/v4/letter/m/a4c791/32.png) [@MickeyKnox](https://phaser.discourse.group/u/MickeyKnox)\
**Post date:** [November 16, 2022, 2:37pm UTC](https://phaser.discourse.group/t/particleemittermanager-using-wrong-texture-frame/12559/2 "2022-11-16T14:37:38Z")

</div>

I’ve just tried to load them individually:

```javascript
this.load.image('white', 'white.png');
this.load.image('black', 'black.png');

```

Then, when I try to use them for particles:

```javascript
let particles = getScene().add.particles('white');

```

in case of white I get solid white particles (not my smoothed white point); in case of black I don’t see any particles at all.

Something is _very_ weird is going on here…
