# Draw a line between actors in Editor without Debug lines?

**URL:** <https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [March 26, 2021, 5:57am UTC](https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030 "2021-03-26T05:57:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [March 26, 2021, 5:57am UTC](https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030/1 "2021-03-26T05:57:43Z")

</div>

Hey all,

I’m just trying to visualize links in the editor between some target point actors for path finding and I can’t for the life of me figure out how to get it working. Draw debug lines doesn’t work because the lines aren’t persistent with Construction Script, and if I’m flushing the persistent lines between the draws (to avoid a line being drawn from origin), it will only show the connection between 2 of the targets at a time. There has to be a way to tell the editor to show a link between connected actors isn’t there?

---

<div class="post-metadata">

**Author:** ![Everynone](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/everynone/32/1135017_2.png) [@Everynone](https://forums.unrealengine.com/u/Everynone)\
**Post date:** [March 26, 2021, 8:05am UTC](https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030/2 "2021-03-26T08:05:32Z")

</div>

How about this:

[https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1473814-drawing-a-line-between-patrol-points](https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1473814-drawing-a-line-between-patrol-points)

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [March 26, 2021, 8:43am UTC](https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030/3 "2021-03-26T08:43:23Z")

</div>

> [@Everynone](#):
>
> How about this:
> 
> [https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1473814-drawing-a-line-between-patrol-points](https://forums.unrealengine.com/development-discussion/blueprint-visual-scripting/1473814-drawing-a-line-between-patrol-points)

Dude! You are the king of forum question answers! Lol  
I searched all over google and YouTube and everyone just said to use debug lines. Thank you so much!

---

<div class="post-metadata">

**Author:** ![Burnrate](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Burnrate](https://forums.unrealengine.com/u/Burnrate)\
**Post date:** [October 26, 2023, 4:10pm UTC](https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030/4 "2023-10-26T16:10:16Z")

</div>

Arg that link is broken ☹ Any info on a newer link or where the info might be?

---

<div class="post-metadata">

**Author:** ![Astrotronic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/astrotronic/32/1194566_2.png) [@Astrotronic](https://forums.unrealengine.com/u/Astrotronic)\
**Post date:** [October 26, 2023, 4:23pm UTC](https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030/5 "2023-10-26T16:23:16Z")

</div>

Hi @Burnrate,

Here’s the updated link:

> [@Drawing a line between patrol points.](https://forums.unrealengine.com/t/drawing-a-line-between-patrol-points/110665):
>
> I have patrolling NPCs, who walk between patrol points. For ease of debugging, I would like to draw a line between each patrol point in Edit mode. How would I do this?

It’s a spline-based approach.

I also came across [this thread](https://forums.unrealengine.com/t/draw-a-line-between-two-points-in-game/43906) with some good looking BPs.

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [October 26, 2023, 11:37pm UTC](https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030/6 "2023-10-26T23:37:05Z")

</div>

Just to save a jump to another post, this is Everynone’s solution:

 ![1_DrawLinesBetweenActorsInEditor](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/0/ff055af33ea0dac5750cbae048bdac8a0c41c980.png)

---

<div class="post-metadata">

**Author:** ![STRiFE.x](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/strife.x/32/969826_2.png) [@STRiFE.x](https://forums.unrealengine.com/u/STRiFE.x)\
**Post date:** [November 29, 2024, 2:41pm UTC](https://forums.unrealengine.com/t/draw-a-line-between-actors-in-editor-without-debug-lines/211030/7 "2024-11-29T14:41:57Z")

</div>

You can use an `FComponentVisualizer`.  
[https://www.reddit.com/r/unrealengine/comments/fgegr7/comment/fk4ht6d/?utm\_source=share&utm\_medium=web3x&utm\_name=web3xcss&utm\_term=1&utm\_content=share\_button](https://www.reddit.com/r/unrealengine/comments/fgegr7/comment/fk4ht6d/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button)
