# How to immediately deactivate a UParticleSystemComponent

**URL:** <https://forums.unrealengine.com/t/how-to-immediately-deactivate-a-uparticlesystemcomponent/462557>\
**Category:** FX\
**Tags:** particle-systems, unreal-engine, particle, question\
**Created:** [March 18, 2020, 2:46am UTC](https://forums.unrealengine.com/t/how-to-immediately-deactivate-a-uparticlesystemcomponent/462557 "2020-03-18T02:46:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Janyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Janyx](https://forums.unrealengine.com/u/Janyx)\
**Post date:** [March 18, 2020, 2:46am UTC](https://forums.unrealengine.com/t/how-to-immediately-deactivate-a-uparticlesystemcomponent/462557/1 "2020-03-18T02:46:56Z")

</div>

I have a tracerFX partical that I attach to my projectiles (so you can see them).The particle effect I am has a approximately 2 second run time.

So what I am doing is on impact I am calling `TrailFX->DeactivateSystem();` and unfortunately it finishes playing the particle before disabling it so it sits around for a couple of second. I want to immediately deactivate it on impact.

---

<div class="post-metadata">

**Author:** ![GEODVS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GEODVS](https://forums.unrealengine.com/u/GEODVS)\
**Post date:** [March 18, 2020, 7:01am UTC](https://forums.unrealengine.com/t/how-to-immediately-deactivate-a-uparticlesystemcomponent/462557/2 "2020-03-18T07:01:12Z")

</div>

Hi,

Try TrailFX-\>Deactivate();

Hope it helps.

---

<div class="post-metadata">

**Author:** ![Janyx](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Janyx](https://forums.unrealengine.com/u/Janyx)\
**Post date:** [March 18, 2020, 2:17pm UTC](https://forums.unrealengine.com/t/how-to-immediately-deactivate-a-uparticlesystemcomponent/462557/3 "2020-03-18T14:17:59Z")

</div>

Thanks so much for the reply. Unfortunately this didn’t work either ☹

---

<div class="post-metadata">

**Author:** ![GEODVS](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@GEODVS](https://forums.unrealengine.com/u/GEODVS)\
**Post date:** [March 18, 2020, 3:11pm UTC](https://forums.unrealengine.com/t/how-to-immediately-deactivate-a-uparticlesystemcomponent/462557/4 "2020-03-18T15:11:31Z")

</div>

Bummer…Can you show your code?  
You may need to add the UFunction or UPROPERTY macro for it to work… if you haven’t done so…
