# Updating position of already generated particles

**URL:** <https://forum.babylonjs.com/t/updating-position-of-already-generated-particles/36967>\
**Category:** Questions\
**Tags:** particles\
**Created:** [December 29, 2022, 3:55am UTC](https://forum.babylonjs.com/t/updating-position-of-already-generated-particles/36967 "2022-12-29T03:55:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![smbogan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/smbogan/32/29014_2.png) [@smbogan](https://forum.babylonjs.com/u/smbogan)\
**Post date:** [December 29, 2022, 3:55am UTC](https://forum.babylonjs.com/t/updating-position-of-already-generated-particles/36967/1 "2022-12-29T03:55:42Z")

</div>

I’m attempting to move a particle system (really a set created with ParticleHelper in this case). When moving the system, I’d like to also move the previously created particles - which I’m aware maybe is not the standard use case. How can this be done? Thanks.

Here’s an example to demonstrate the problem: [Playground](https://playground.babylonjs.com/#0CUP19#1)

---

<div class="post-metadata">

**Author:** ![Takemura](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/takemura/32/25836_2.png) [@Takemura](https://forum.babylonjs.com/u/Takemura)\
**Post date:** [December 29, 2022, 5:03am UTC](https://forum.babylonjs.com/t/updating-position-of-already-generated-particles/36967/2 "2022-12-29T05:03:23Z")

</div>

Hi there,

is this what you were looking for?

> **[Babylon.js Playground](https://playground.babylonjs.com/#1JAZ0A)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

---

<div class="post-metadata">

**Author:** ![smbogan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/smbogan/32/29014_2.png) [@smbogan](https://forum.babylonjs.com/u/smbogan)\
**Post date:** [December 29, 2022, 6:22am UTC](https://forum.babylonjs.com/t/updating-position-of-already-generated-particles/36967/3 "2022-12-29T06:22:49Z")

</div>

Thanks for the response, but for what I’m talking about you should no longer see a “trail” of particles left over when the sun moves. The sun and all the particles that were previously emitted would move together.

Your suggestion does appear to be a lot closer. The particles of the sun’s surface seem to move along, but the halo seems to almost go ahead of the sun.

---

<div class="post-metadata">

**Author:** ![smbogan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/smbogan/32/29014_2.png) [@smbogan](https://forum.babylonjs.com/u/smbogan)\
**Post date:** [December 29, 2022, 6:35am UTC](https://forum.babylonjs.com/t/updating-position-of-already-generated-particles/36967/4 "2022-12-29T06:35:20Z")

</div>

I think I’ve figured it out. It can be done by going through each system and manually updating the particle position for each particle.

[Playground](https://playground.babylonjs.com/#0CUP19#2)
