# Attaching Beam Points to Actors Dynamically in game

**URL:** <https://forums.unrealengine.com/t/attaching-beam-points-to-actors-dynamically-in-game/447437>\
**Category:** Blueprint\
**Tags:** beam, child-actors, actor-blueprint, unreal-engine, Blueprint, question\
**Created:** [April 18, 2019, 5:11am UTC](https://forums.unrealengine.com/t/attaching-beam-points-to-actors-dynamically-in-game/447437 "2019-04-18T05:11:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nogdoesrandomstuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nogdoesrandomstuff](https://forums.unrealengine.com/u/nogdoesrandomstuff)\
**Post date:** [April 18, 2019, 5:11am UTC](https://forums.unrealengine.com/t/attaching-beam-points-to-actors-dynamically-in-game/447437/1 "2019-04-18T05:11:07Z")

</div>

Hello,  
I’m trying to attach a beam between two actors as seen [here][1]. However, I want to do this during runtime (for complicated reasons) I don’t want to use a set beam source/end point function because when changing the source point and the end point the beam lags behind. My attempt at connecting the laser to two actors is shown below. I believe this is the same way that this would be done in editor to attach the laser to two actors. (I have the source/target method set to actor and the source/target name do correspond with the names shown here)

 ![274550-beam-point.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/5/1/851ed7ddc3f0fe8fd63b7c53dc75fa19abeb514e.png)

---

<div class="post-metadata">

**Author:** ![FinalZer0](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@FinalZer0](https://forums.unrealengine.com/u/FinalZer0)\
**Post date:** [April 18, 2019, 6:48am UTC](https://forums.unrealengine.com/t/attaching-beam-points-to-actors-dynamically-in-game/447437/2 "2019-04-18T06:48:49Z")

</div>

Hi!

You can make beam by making beam emitter and material first as its made in here: [A new, community-hosted Unreal Engine Wiki - Announcements - Unreal Engine Forums](https://wiki.unrealengine.com/Beam_Particle_(Tutorial))

If you have configured all correctly, you can use particle system method “SetBeamTargetPoint” and “SetBeamTargetPoint” like i have used in here:

![274563-beam.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/7/e/77e9024e8536115e5823ffc18cd7f8c362ca3381.png)

---

<div class="post-metadata">

**Author:** ![nogdoesrandomstuff](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@nogdoesrandomstuff](https://forums.unrealengine.com/u/nogdoesrandomstuff)\
**Post date:** [April 18, 2019, 4:26pm UTC](https://forums.unrealengine.com/t/attaching-beam-points-to-actors-dynamically-in-game/447437/3 "2019-04-18T16:26:42Z")

</div>

Hi, I did originally have the beam set up like that. However, the beam lags where it should be in this gif here. I know from doing other things with beams that if the beam point is attached to an actor it stays exactly with the actor with no lagging.

![274606-beam-lag.gif](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/9/9/d99bda0594baf2b80bea263a8b92ce2f77998964.gif)
