# How to use DrawDebugLine to show a vector..?

**URL:** <https://forums.unrealengine.com/t/how-to-use-drawdebugline-to-show-a-vector/316415>\
**Category:** C++\
**Tags:** debug-draw, unreal-engine, vector, CPP, question\
**Created:** [April 25, 2015, 10:34pm UTC](https://forums.unrealengine.com/t/how-to-use-drawdebugline-to-show-a-vector/316415 "2015-04-25T22:34:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![DanaFo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DanaFo](https://forums.unrealengine.com/u/DanaFo)\
**Post date:** [April 25, 2015, 10:34pm UTC](https://forums.unrealengine.com/t/how-to-use-drawdebugline-to-show-a-vector/316415/1 "2015-04-25T22:34:27Z")

</div>

Hey all,  
I was playing with drawdebugline in the hopes of getting the current movement vector of my character visible. However I’m a little confused as to the LineStart and LineEnd parameters… I was using rootcomponent as the line start location but I have no idea how to get a point from the tip of a vector to use as line end? I tried inputting the vector itself as line end but the result is definitely not correct. I googled the \*\*\*\* out of this with no luck so hopefully someone here knows how to do this.

Thanks!

---

<div class="post-metadata">

**Author:** ![DanaFo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@DanaFo](https://forums.unrealengine.com/u/DanaFo)\
**Post date:** [April 27, 2015, 6:18am UTC](https://forums.unrealengine.com/t/how-to-use-drawdebugline-to-show-a-vector/316415/2 "2015-04-27T06:18:50Z")

</div>

From JanW in the forums: to get the endpoint you just have to add the vector to the startpoint (endpoint = startpoint + vector)
