# DrawDebug in screen space?

**URL:** <https://forums.unrealengine.com/t/drawdebug-in-screen-space/344528>\
**Category:** C++\
**Tags:** debug, debug-draw, unreal-engine, question, CPP\
**Created:** [January 19, 2016, 12:41am UTC](https://forums.unrealengine.com/t/drawdebug-in-screen-space/344528 "2016-01-19T00:41:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![duke22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@duke22](https://forums.unrealengine.com/u/duke22)\
**Post date:** [January 19, 2016, 12:41am UTC](https://forums.unrealengine.com/t/drawdebug-in-screen-space/344528/1 "2016-01-19T00:41:26Z")

</div>

I’d like to draw some debug shapes (points, lines, etc.) in screenspace. I see I can do this in 3D/world space - is it possible to do in 2D?

---

<div class="post-metadata">

**Author:** ![Daekesh](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/daekesh/32/918652_2.png) [@Daekesh](https://forums.unrealengine.com/u/Daekesh)\
**Post date:** [January 19, 2016, 2:34am UTC](https://forums.unrealengine.com/t/drawdebug-in-screen-space/344528/2 "2016-01-19T02:34:55Z")

</div>

You can use the a HUD class and Canvas.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_32462150](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_32462150](https://forums.unrealengine.com/u/anonymous_user_32462150)\
**Post date:** [February 28, 2017, 10:03am UTC](https://forums.unrealengine.com/t/drawdebug-in-screen-space/344528/3 "2017-02-28T10:03:56Z")

</div>

Take a look at this post

> **[What is the Context in DrawText node?](https://forums.unrealengine.com/questions/111651/what-is-the-context-in-drawtext-node.html)**
>
> Seems like you picked the wrong Draw Text Node. I’m using 4.4 and can find the old and the “new” one that you found. You need to take the one under “HUD” and not the one under “Painting”: And be sure that you are inside your HUD Class.
