# How do i hide a hud?

**URL:** <https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214>\
**Category:** UI\
**Tags:** crosshair, hide, hud, unreal-engine, Levels, question, visible\
**Created:** [August 23, 2020, 8:16pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214 "2020-08-23T20:16:01Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [August 23, 2020, 8:16pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/1 "2020-08-23T20:16:01Z")

</div>

[https://gyazo.com/7dc3c1cd4ec402b398b72e8b960a0031As](https://gyazo.com/7dc3c1cd4ec402b398b72e8b960a0031As) you can see here i have a hud with a crosshair and i only want it visible in one level so how do i make it invisible in other levels is my question.[Screenshot - 74c68c9206c24264569cb37a8c6899e5 - Gyazo](https://gyazo.com/74c68c9206c24264569cb37a8c6899e5)

---

<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:** [August 24, 2020, 7:10am UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/2 "2020-08-24T07:10:03Z")

</div>

The first link is broken.

> how do i make it invisible in other  
> levels

Don’t call the custom event that draws it to the screen. Have a boolean values that controls a Branch or Gate in the HUD, when the level loads, set the HUD’s bool to False.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [August 31, 2020, 2:16pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/3 "2020-08-31T14:16:10Z")

</div>

Sorry for such a late message i was on a one week trip could you please share an image? Of what it should look like? Also the link was just an image of what the crosshair looks like.

---

<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:** [August 31, 2020, 2:18pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/4 "2020-08-31T14:18:59Z")

</div>

The image of what? How would I known how you draw it on screen? You have 2 custom events, you call them somewhere, surely.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [August 31, 2020, 2:33pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/5 "2020-08-31T14:33:13Z")

</div>

How i draw the texture is on the image tho?

---

<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:** [August 31, 2020, 2:37pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/6 "2020-08-31T14:37:13Z")

</div>

No, it’s a custom event. Where do you call that event?

It almost looks like a copied event from HUD’s Draw:

![311926-annotation-2020-08-31-153840.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/0/0/800375b95d53e711a5aa98134ee6b313369b52b9.jpeg)

But I don’t even know… is this in the widget, is this HUD framework class?

Any info on what’s going on here?

---

<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:** [August 31, 2020, 2:46pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/7 "2020-08-31T14:46:11Z")

</div>

WHY are the nodes stacked on top of one another?! Haha. What’s going on there?

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [August 31, 2020, 2:53pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/8 "2020-08-31T14:53:06Z")

</div>

? what u talking about??

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [August 31, 2020, 2:55pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/9 "2020-08-31T14:55:41Z")

</div>

It is literally the hud that comes with when you start making your game the FirstPersonHud? I haven’t edited any of it yet just changed what texture to draw?

---

<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:** [August 31, 2020, 2:59pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/10 "2020-08-31T14:59:22Z")

</div>

![311920-untitled.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/f/3/3f318ed449b6e140bbccf299891a22b0f682f596.jpeg)

In the image you linked, there are stacked nodes. Someone put one node on top of another…

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/8/8/e88b88a04da5e3501da2ed43772556aeb1078bc9.gif)](https://gyazo.com/f49ab070da83824515499bbbe00b39ca)

You can’t connect nodes like that:

[![Image from Gyazo](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/2/3d2835969e9c2ee5c3b66d54037b882140b9326d.gif)](https://gyazo.com/7f725301386fa90b4a3e6fab18450e79)

---

<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:** [August 31, 2020, 3:00pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/11 "2020-08-31T15:00:21Z")

</div>

Move one of them and you’ll see for yourself.

---

<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:** [August 31, 2020, 3:04pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/12 "2020-08-31T15:04:29Z")

</div>

> It is literally the hud that comes  
> with when you start making your game  
> the FirstPersonHud? I haven’t edited  
> any of it yet just changed what  
> texture to draw?

 ![311927-annotation-2020-08-31-160320.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/f/6/ef68ce08a8b436df91cc6ed56ea3a9e5abaa915c.jpeg)

Nah, this is the original, what you have looks like it was accidentally copy-pasted twice.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_86f4b4551](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_86f4b4551](https://forums.unrealengine.com/u/anonymous_user_86f4b4551)\
**Post date:** [August 31, 2020, 3:19pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/13 "2020-08-31T15:19:09Z")

</div>

[Screenshot - 3d706f0fdba337a1afae13b998dc84be - Gyazo](https://gyazo.com/3d706f0fdba337a1afae13b998dc84be) Yeah sorry about that i was stupid enough to send a picture of the wrong hud but i think i will just go with a widget instead i think that will be a bit easier.

---

<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:** [August 31, 2020, 3:20pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/14 "2020-08-31T15:20:48Z")

</div>

So to add to this, if the above is used to draw, you could put a branch after the event and control it from outside via a boolean variable. Since HUD class is a framework class (don’t confuse it with a widget), it’s accessible from pretty much everywhere any time via a cast.

---

<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:** [August 31, 2020, 3:21pm UTC](https://forums.unrealengine.com/t/how-do-i-hide-a-hud/470214/15 "2020-08-31T15:21:42Z")

</div>

HUD is definitely simpler, and easier to access. 1 branch + 1 bool
