# Need help drawing a debug box

**URL:** <https://forums.unrealengine.com/t/need-help-drawing-a-debug-box/341377>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** debug, linetrace, unreal-engine, question, Blueprint, vectors\
**Created:** [December 13, 2015, 10:22pm UTC](https://forums.unrealengine.com/t/need-help-drawing-a-debug-box/341377 "2015-12-13T22:22:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nargarcyz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nargarcyz](https://forums.unrealengine.com/u/Nargarcyz)\
**Post date:** [December 13, 2015, 10:22pm UTC](https://forums.unrealengine.com/t/need-help-drawing-a-debug-box/341377/1 "2015-12-13T22:22:11Z")

</div>

So i’ve been trying to figure out how to debug a box given two points that i got from two different LineTraces:

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/3X/3/f/3f717dd17562276a58d1bb257cc19957fcfc3c25.png)

I’ve been messing around adding hit locations and word locations, but so far i couldn’t achieve what i wanted, which is draw a debug box that fits perfectly into these two hit locations, regardless of the height it has.

What should i do?

---

<div class="post-metadata">

**Author:** ![getnamo](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/getnamo/32/1194624_2.png) [@getnamo](https://forums.unrealengine.com/u/getnamo)\
**Post date:** [December 13, 2015, 10:26pm UTC](https://forums.unrealengine.com/t/need-help-drawing-a-debug-box/341377/2 "2015-12-13T22:26:42Z")

</div>

There is a Draw Debug Box command, but that just draws an outline cube. Good for debugging basic shape. If you want a more complete box you can resize a cube with inverse normals to fit the size.

---

<div class="post-metadata">

**Author:** ![Nargarcyz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Nargarcyz](https://forums.unrealengine.com/u/Nargarcyz)\
**Post date:** [December 14, 2015, 10:30am UTC](https://forums.unrealengine.com/t/need-help-drawing-a-debug-box/341377/3 "2015-12-14T10:30:49Z")

</div>

How could i do that? I’ve been searching for some tips but got nothing so far.
