# Drawing a line between patrol points.

**URL:** <https://forums.unrealengine.com/t/drawing-a-line-between-patrol-points/110665>\
**Category:** Blueprint\
**Tags:** unreal-engine\
**Created:** [May 10, 2018, 8:00am UTC](https://forums.unrealengine.com/t/drawing-a-line-between-patrol-points/110665 "2018-05-10T08:00:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jezcentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jezcentral](https://forums.unrealengine.com/u/Jezcentral)\
**Post date:** [May 10, 2018, 8:00am UTC](https://forums.unrealengine.com/t/drawing-a-line-between-patrol-points/110665/1 "2018-05-10T08:00:32Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![NedimH](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nedimh/32/88708_2.png) [@NedimH](https://forums.unrealengine.com/u/NedimH)\
**Post date:** [May 10, 2018, 9:16am UTC](https://forums.unrealengine.com/t/drawing-a-line-between-patrol-points/110665/2 "2018-05-10T09:16:08Z")

</div>

There is a node called DrawDebugLine, which takes 2 vectors for start and end location as arguments, among other things.

---

<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:** [May 10, 2018, 9:56am UTC](https://forums.unrealengine.com/t/drawing-a-line-between-patrol-points/110665/3 "2018-05-10T09:56:08Z")

</div>

> [@NedimH](#):
>
> There is a node called DrawDebugLine, which takes 2 vectors for start and end location as arguments, among other things.

You cannot use debug nodes in edit mode.

But spline & arrow looks half decent:

 ![splinearrow.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/d/7/d7ebb08d3f625a8cc4bfb131e7154ae903cb3fc6.jpeg)

 ![splinearrow0.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/3X/2/c/2c2e7a0cca78ab66a230c53b8a65eb1536fc80e6.png)

---

<div class="post-metadata">

**Author:** ![Jezcentral](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Jezcentral](https://forums.unrealengine.com/u/Jezcentral)\
**Post date:** [May 10, 2018, 10:25am UTC](https://forums.unrealengine.com/t/drawing-a-line-between-patrol-points/110665/4 "2018-05-10T10:25:46Z")

</div>

Cool, thank you.

---

<div class="post-metadata">

**Author:** ![ActOfAgression](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ActOfAgression](https://forums.unrealengine.com/u/ActOfAgression)\
**Post date:** [January 4, 2022, 6:00pm UTC](https://forums.unrealengine.com/t/drawing-a-line-between-patrol-points/110665/5 "2022-01-04T18:00:21Z")

</div>

Thank you sooo much! Debug lines just didnt do the job.  
Is the `update spline` input deleting old splines? They disappear in my viewport but im afraid of ghost data because I never delete/clear the splines or the component on movement.
