# Laser beam that locks and follows a target

**URL:** <https://forums.unrealengine.com/t/laser-beam-that-locks-and-follows-a-target/227735>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4-26\
**Created:** [May 4, 2021, 1:07pm UTC](https://forums.unrealengine.com/t/laser-beam-that-locks-and-follows-a-target/227735 "2021-05-04T13:07:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Seed\_37](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/seed_37/32/88718_2.png) [@Seed\_37](https://forums.unrealengine.com/u/Seed_37)\
**Post date:** [May 4, 2021, 1:43pm UTC](https://forums.unrealengine.com/t/laser-beam-that-locks-and-follows-a-target/227735/3 "2021-05-04T13:43:12Z")

</div>

I would suggest getting into Niagara.  
This channel helped me a lot

> **[gameDev Outpost](https://www.youtube.com/channel/UC3Yf1SuYLc5WdChEgXRA6OQ)**
>
> Share your videos with friends, family, and the world

Also here for the initial beam setup

> [@Niagara: Looping beam with infinite lifetime](https://forums.unrealengine.com/t/niagara-looping-beam-with-infinite-lifetime/145291/6):
>
> There is an option under the emitter state called loop behavior, you can set it to infinite, loop or once. The problem is on infinite between the end of the loop and beginning of the next loop it stops emitting particles for a frame and resultants in a flicker. I am not sure if it has something to do with the initial beam set up or it’s just a glitch. I have also tried setting the “Lifetime” in the particle spawn module to a higher and lower number then the “loop duration” and it either causes…

Then for the follow mechanics you use need to make a user parameter for the beam end variable so you can manipulate it from a blueprint

Video is in french but you can turn the sound of and follow it anyway.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/e/26e9231cc056a0a7f29d8dd26e820937108fbff0.jpeg "Niagara : How to create electric arcs between 2 points - UE4 tutorials") ](https://www.youtube.com/watch?v=SajyFZ35OBI)

---

_[View the full topic](https://forums.unrealengine.com/t/laser-beam-that-locks-and-follows-a-target/227735)._
