# Attach Niagara System to line trace

**URL:** <https://forums.unrealengine.com/t/attach-niagara-system-to-line-trace/1355171>\
**Category:** FX\
**Tags:** unreal-engine, question, Blueprint\
**Created:** [November 1, 2023, 3:34am UTC](https://forums.unrealengine.com/t/attach-niagara-system-to-line-trace/1355171 "2023-11-01T03:34:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DayanaS22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DayanaS22](https://forums.unrealengine.com/u/DayanaS22)\
**Post date:** [November 1, 2023, 3:34am UTC](https://forums.unrealengine.com/t/attach-niagara-system-to-line-trace/1355171/1 "2023-11-01T03:34:30Z")

</div>

Hello, I have a line trace system set up for my shooting game, but now i want to show something different besides the line trace debug feature. I want to ■■■ a particle effect to it but whenever I shout my enemies the Niagara system will not hit the enemies but the player is still dealing damage. How can i make it so my Niagara system is lined up with the line tracing?

---

<div class="post-metadata">

**Author:** ![ClockworkOcean](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/clockworkocean/32/1169999_2.png) [@ClockworkOcean](https://forums.unrealengine.com/u/ClockworkOcean)\
**Post date:** [November 1, 2023, 7:49am UTC](https://forums.unrealengine.com/t/attach-niagara-system-to-line-trace/1355171/2 "2023-11-01T07:49:36Z")

</div>

You have the start and end points of the line trace ( camera and hit point ). So you can set the start and end points of the beam from this

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/8/5/f8572e3768998e9f13b4ee83ace4090fcbcb85e4.jpeg "UE4 - Niagara Beam Emitter") ](https://www.youtube.com/watch?v=S38DjkfYps8)

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/7/32798710832e213dd366df3aea47a6457fd3ef14.png)
