# Whats the best approach to HUD in 4.7

**URL:** <https://forums.unrealengine.com/t/whats-the-best-approach-to-hud-in-4-7/314706>\
**Category:** UI\
**Tags:** unreal-engine, CPP, question, UMG\
**Created:** [April 11, 2015, 8:42pm UTC](https://forums.unrealengine.com/t/whats-the-best-approach-to-hud-in-4-7/314706 "2015-04-11T20:42:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Problemahtic](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Problemahtic](https://forums.unrealengine.com/u/Problemahtic)\
**Post date:** [April 11, 2015, 8:42pm UTC](https://forums.unrealengine.com/t/whats-the-best-approach-to-hud-in-4-7/314706/1 "2015-04-11T20:42:51Z")

</div>

I am working on the HUD for a project and im not sure what is the best way to go about it. I remember using a canvas from the old video tutorials but now there is slate and UMG. is their a way to use UMG functionality in c++ and not blueprints. if so could where can i find the documentation on it.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_a0dfe1c61](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_a0dfe1c61](https://forums.unrealengine.com/u/anonymous_user_a0dfe1c61)\
**Post date:** [April 12, 2015, 12:54am UTC](https://forums.unrealengine.com/t/whats-the-best-approach-to-hud-in-4-7/314706/2 "2015-04-12T00:54:04Z")

</div>

This can be easily done by extending the `UUserWidget` class. If you create a variable or function, and make it available to the UMG blueprint with the `UPROPERTY` and `UFUNCTION` macros, you should be able to use those values or call the functions normally.

There is also the need to include various dependencies into your project.

The whole process is summed up nicely here,

> **[A new, community-hosted Unreal Engine Wiki](https://forums.unrealengine.com/t/a-new-community-hosted-unreal-engine-wiki/141494)**
>
> After over a year in maintenance mode, the official Unreal Engine Wiki is now permanently offline. These resources now live on a new community-run Unreal Engine Community Wiki — https://unrealcommunity.wiki/! You will be able to find content from...

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_55a432d8](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_55a432d8](https://forums.unrealengine.com/u/anonymous_user_55a432d8)\
**Post date:** [April 17, 2015, 1:22pm UTC](https://forums.unrealengine.com/t/whats-the-best-approach-to-hud-in-4-7/314706/3 "2015-04-17T13:22:13Z")

</div>

UMG is really slow, I wouldn’t use it at all and also there is an input delay if your GUI is complex.  
I’d also mention that UMG crashes from time to time…
