# \[SOLVED\] Individual control of particles

**URL:** <https://forum.playcanvas.com/t/solved-individual-control-of-particles/9845>\
**Category:** Help & Support\
**Created:** [April 25, 2019, 2:12pm UTC](https://forum.playcanvas.com/t/solved-individual-control-of-particles/9845 "2019-04-25T14:12:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dadiaar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/dadiaar/32/22384_2.png) [@dadiaar](https://forum.playcanvas.com/u/dadiaar)\
**Post date:** [April 25, 2019, 2:12pm UTC](https://forum.playcanvas.com/t/solved-individual-control-of-particles/9845/1 "2019-04-25T14:12:25Z")

</div>

Good morning everybody

I’m trying to have full control of where each particle is instead of using the emiter parameters, so for example instead of saying max 100 particles, I would pass an array of positions, speed, etc.

I’m digging in the github repository but I feel what I’m looking for is already what the emiter does anyway, so little coding from my part will be necessary if at all.

[\* Particle system](https://github.com/playcanvas/engine/tree/4a7f264933cfad918d6db9faf17bff487298be8d/src/framework/components/particle-system)

[\* Particle.js](https://github.com/playcanvas/engine/blob/master/src/graphics/program-lib/particle.js)

Can anyone point me to the correct part of the code?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [April 25, 2019, 2:47pm UTC](https://forum.playcanvas.com/t/solved-individual-control-of-particles/9845/2 "2019-04-25T14:47:33Z")

</div>

It looks like the behaviour of particle is updated in the emitter. See the call here that updates the particle:

> <https://github.com/playcanvas/engine/blob/4a7f264933cfad918d6db9faf17bff487298be8d/src/framework/components/particle-system/system.js#L244>

And the update function on the emitter

> <https://github.com/playcanvas/engine/blob/master/src/scene/particle-emitter.js#L1227>

---

<div class="post-metadata">

**Author:** ![dadiaar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/dadiaar/32/22384_2.png) [@dadiaar](https://forum.playcanvas.com/u/dadiaar)\
**Post date:** [April 25, 2019, 4:48pm UTC](https://forum.playcanvas.com/t/solved-individual-control-of-particles/9845/3 "2019-04-25T16:48:40Z")

</div>

Thanks yaustar

I’ve been reading `particle-emitter.js` and it looks exactly what I was looking for.

I made a quick read and it may be possible to access directly to the buffer where the vertices are storaged.

Thanks
