# Add collision detection to Niagara particles?

**URL:** <https://forums.unrealengine.com/t/add-collision-detection-to-niagara-particles/792362>\
**Category:** FX\
**Tags:** particle-systems, unreal-engine, question\
**Created:** [March 16, 2023, 5:54pm UTC](https://forums.unrealengine.com/t/add-collision-detection-to-niagara-particles/792362 "2023-03-16T17:54:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![V\_vix](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/v_vix/32/613734_2.png) [@V\_vix](https://forums.unrealengine.com/u/V_vix)\
**Post date:** [March 16, 2023, 5:54pm UTC](https://forums.unrealengine.com/t/add-collision-detection-to-niagara-particles/792362/1 "2023-03-16T17:54:43Z")

</div>

I have this snow particle system which follows player around. This simulates the snow falling on the entire map without having to actually spawn particles all over it, the issue I’m having is that every time a player enters a building these particles have to be somehow detached, which is fine, except if I detach them right at the doorstep, they’re wide enough to still fall trough the roof.  
My question is: is there a simple way to make snow disappear if it enters a collision with a mesh? I have very little knowledge about Niagara, so excuse me if I’m a bit slow.

---

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [March 17, 2023, 10:01am UTC](https://forums.unrealengine.com/t/add-collision-detection-to-niagara-particles/792362/3 "2023-03-17T10:01:31Z")

</div>

Hey @V_vix!

Check out this thread, which seems to be the answer you are looking for:

> [@Niagara kill / die on collision?](https://forums.unrealengine.com/t/niagara-kill-die-on-collision/516455/2):
>
> You can try this snippet: [Kill Niagara particles after collision | Unreal engine Code Snippet](https://dev.epicgames.com/community/snippets/dl2/kill-niagara-particles-after-collision) Just paste it in your stack.

I hope the above is the solution you need!
