# How to deactivate a spawned particle emitter once player leaves box trigger?

**URL:** <https://forums.unrealengine.com/t/how-to-deactivate-a-spawned-particle-emitter-once-player-leaves-box-trigger/477368>\
**Category:** Blueprint\
**Tags:** box-trigger, unreal-engine, Blueprint, question\
**Created:** [January 17, 2021, 11:06am UTC](https://forums.unrealengine.com/t/how-to-deactivate-a-spawned-particle-emitter-once-player-leaves-box-trigger/477368 "2021-01-17T11:06:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Poshmn](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Poshmn](https://forums.unrealengine.com/u/Poshmn)\
**Post date:** [January 17, 2021, 11:06am UTC](https://forums.unrealengine.com/t/how-to-deactivate-a-spawned-particle-emitter-once-player-leaves-box-trigger/477368/1 "2021-01-17T11:06:47Z")

</div>

Hey,  
Pretty new to Unreal and following some tutorials I’ve managed to create a box trigger that spawns a fire particle emitter at a certain location, but I also want the emitter to stop only when the player walks outside of the box trigger. The idea is of a hallway that lights up new fires as the player moves further, but the ones behind disappear.

The spawning on the fire looks like this:

 ![327407-unreal-fire-question.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/a/7/7a776dd79820ee19bc31108fe1647af27e3efe2e.png)

The problem with this blueprint seems to be that I cannot find a way how to reference the newly created particles for OnActorEndOverlap

Also - I’d need the particles to reappear if the player walks back into the previous box trigger

---

<div class="post-metadata">

**Author:** ![Kehel18](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kehel18](https://forums.unrealengine.com/u/Kehel18)\
**Post date:** [January 17, 2021, 3:59pm UTC](https://forums.unrealengine.com/t/how-to-deactivate-a-spawned-particle-emitter-once-player-leaves-box-trigger/477368/2 "2021-01-17T15:59:51Z")

</div>

Hello! **Spawn Emitter at Location** node returns pointer to created component, so use it )
