# What is the correct way to draw a line in 3D? (non-debug)

**URL:** <https://forums.unrealengine.com/t/what-is-the-correct-way-to-draw-a-line-in-3d-non-debug/722019>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint, question\
**Created:** [December 5, 2022, 5:17pm UTC](https://forums.unrealengine.com/t/what-is-the-correct-way-to-draw-a-line-in-3d-non-debug/722019 "2022-12-05T17:17:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![OGeryan1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OGeryan1](https://forums.unrealengine.com/u/OGeryan1)\
**Post date:** [December 5, 2022, 5:17pm UTC](https://forums.unrealengine.com/t/what-is-the-correct-way-to-draw-a-line-in-3d-non-debug/722019/1 "2022-12-05T17:17:48Z")

</div>

I’ve been wondering, if it is possible to draw a line in 3D space via Blueprints, without using the _Draw Debug Line_ node. Is there some kind of built in feature, or do I need to make my own system for it?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Raja.Haris](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/raja.haris/32/1191940_2.png) [@Raja.Haris](https://forums.unrealengine.com/u/Raja.Haris)\
**Post date:** [December 5, 2022, 5:45pm UTC](https://forums.unrealengine.com/t/what-is-the-correct-way-to-draw-a-line-in-3d-non-debug/722019/2 "2022-12-05T17:45:00Z")

</div>

Could Use Splines? I used splines for drawing out paths for AI and it worked fine.

---

<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:** [December 5, 2022, 6:11pm UTC](https://forums.unrealengine.com/t/what-is-the-correct-way-to-draw-a-line-in-3d-non-debug/722019/3 "2022-12-05T18:11:42Z")

</div>

Have a look at this thread:

> [@What are the methods avaiable to draw lines in unreal engine?](https://forums.unrealengine.com/t/what-are-the-methods-avaiable-to-draw-lines-in-unreal-engine/654052/81):
>
> See if this can push you in the right direction: The first point is drawn where the camera is, the second is drawn 200 uus in front of the camera and converted back to 2d - a small pure function so we do not need to spam the same nodes all over again. From a side, it would look like this: Are we even still going the right direction? Btw, when I tried to do it with a component, it was all over the place and I have little mental stamina left to wrangle its transforms.

Some ideas there, and more here:

> [@Solid sphere in unreal engine?](https://forums.unrealengine.com/t/solid-sphere-in-unreal-engine/668692):
>
> Is there any way to insert a solid sphere in unrela engine. The dafault one is a hollow one and i am looking for a solid one ? is there any option available ?

---

<div class="post-metadata">

**Author:** ![OGeryan1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@OGeryan1](https://forums.unrealengine.com/u/OGeryan1)\
**Post date:** [December 5, 2022, 9:39pm UTC](https://forums.unrealengine.com/t/what-is-the-correct-way-to-draw-a-line-in-3d-non-debug/722019/4 "2022-12-05T21:39:10Z")

</div>

Hey, thank you for the replies. Splines ended up working as intended.
