# HUD Message Device doesn't Hide HUD when called through Verse, after calling Show on specific Agents

**URL:** <https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, fortnite\
**Created:** [September 18, 2023, 6:32pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149 "2023-09-18T18:32:44Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Portine](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/portine/32/1182274_2.png) [@Portine](https://forums.unrealengine.com/u/Portine)\
**Post date:** [September 18, 2023, 6:32pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/1 "2023-09-18T18:32:44Z")

</div>

### Please select what you are reporting on:

Verse

### What Type of Bug are you experiencing?

Devices

### Summary

The following code to display a HUD and then have it Hide only when necessary doesn’t work:

ShowHUDForAgent(Agent:agent):void=  
HUDMessageDevice.Show(Agent)  
Sleep(5.0)  
HUDMessageDevice.Hide()

Other than the fact that there’s no option to Hide() a HUD device only for a specific Agent, this code doesn’t hide it at all, for anyone in the match.  
It will correctly display, but it won’t Hide().

### Steps to Reproduce

Add a HUD Message Device and reference it via Verse, call the Show() on any agent in BeginPlay() or any other place, and then call Hide.  
It won’t Hide the HUD.

### Expected Result

It hides the HUD correctly for everyone in the match.

### Observed Result

It doesn’t hide the HUD for anyone in the match.

### Platform(s)

Win64

---

<div class="post-metadata">

**Author:** ![toom1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@toom1](https://forums.unrealengine.com/u/toom1)\
**Post date:** [September 18, 2023, 8:28pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/2 "2023-09-18T20:28:14Z")

</div>

Can confirm this is also happening for me, having to use a trigger to clear the layer instead of hiding the message.

---

<div class="post-metadata">

**Author:** ![cabriole](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@cabriole](https://forums.unrealengine.com/u/cabriole)\
**Post date:** [December 23, 2023, 3:40pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/3 "2023-12-23T15:40:19Z")

</div>

I also have this issue still. Is there a solution for it?

---

<div class="post-metadata">

**Author:** ![djroughhouse](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@djroughhouse](https://forums.unrealengine.com/u/djroughhouse)\
**Post date:** [February 5, 2024, 1:01am UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/4 "2024-02-05T01:01:01Z")

</div>

Maybe you could try showing an empty string message to all users (not user specific) to clear it (then hide, if needed)

Something like

```auto
HudMessageDevice.Show(StringToMessage(""), ?DisplayTime := 0.01)
HudMessageDevice.Hide();

```

Or itterate through all players and Show() an empty string message, maybe?

---

<div class="post-metadata">

**Author:** ![TCGameStudio](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@TCGameStudio](https://forums.unrealengine.com/u/TCGameStudio)\
**Post date:** [April 25, 2024, 2:09pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/5 "2024-04-25T14:09:11Z")

</div>

This worked for me. Thanks!

---

<div class="post-metadata">

**Author:** ![SpyderNic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spydernic/32/933252_2.png) [@SpyderNic](https://forums.unrealengine.com/u/SpyderNic)\
**Post date:** [May 21, 2024, 8:44pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/6 "2024-05-21T20:44:34Z")

</div>

This issue is still happening in v29.40 - also showing an empty message doesn’t seem to fix it 😕

---

<div class="post-metadata">

**Author:** ![davidpkami](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/davidpkami/32/1040403_2.png) [@davidpkami](https://forums.unrealengine.com/u/davidpkami)\
**Post date:** [May 21, 2024, 11:12pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/7 "2024-05-21T23:12:47Z")

</div>

Yes. It is still happening. You can not hide a Ui if you are are using the device as UI

---

<div class="post-metadata">

**Author:** ![KeyserScholze](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/keyserscholze/32/1194700_2.png) [@KeyserScholze](https://forums.unrealengine.com/u/KeyserScholze)\
**Post date:** [May 22, 2024, 10:55am UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/8 "2024-05-22T10:55:06Z")

</div>

make sure your blank hud message device is on a different layer and has a lower priority number than the one it is replacing

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/9/6e9f4e99c20f56102a87d2a37c8fafa6df782d4b.png)

---

<div class="post-metadata">

**Author:** ![SpyderNic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spydernic/32/933252_2.png) [@SpyderNic](https://forums.unrealengine.com/u/SpyderNic)\
**Post date:** [May 23, 2024, 7:39pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/9 "2024-05-23T19:39:02Z")

</div>

Doing this actually displays them both.

I’ll try using a Popup Dialog Device instead, seeing that you can Hide it for a specific Agent…

edit: nope, I forgot that popups prevented player movement since it’s expecting cursor interaction, so back to fiddling with hud messages!

---

<div class="post-metadata">

**Author:** ![SpyderNic](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/spydernic/32/933252_2.png) [@SpyderNic](https://forums.unrealengine.com/u/SpyderNic)\
**Post date:** [May 23, 2024, 8:33pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/10 "2024-05-23T20:33:42Z")

</div>

OK so after a few trial and error with the HUD Messages, I’ve found that unticking Priority all together works best:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/d/dfdae4dd9e5b69d191a89bc2ea3b6c5e9381d8fa.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/6/cc60845bbb9c31f2309943a86cd99a73a22f89e0.png)

I don’t even need to call `Hide()` or show an empty message with short duration etc., just calling `Show(Agent)` on another message that doesn’t have priority shows it immediately (as per ToolTip).  
So to “clear” the previous message I just show an empty canvas instead.

Again, **no priority** was key for me!

---

<div class="post-metadata">

**Author:** ![ParadoxJ77](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ParadoxJ77](https://forums.unrealengine.com/u/ParadoxJ77)\
**Post date:** [June 13, 2024, 9:59pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/11 "2024-06-13T21:59:10Z")

</div>

This does suck. I ended up adding durations and redisplaying them before the duration expired if needed.

---

<div class="post-metadata">

**Author:** ![Bug-Reporter](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bug-reporter/32/1223650_2.png) [@Bug-Reporter](https://forums.unrealengine.com/u/Bug-Reporter)\
**Post date:** [December 3, 2024, 5:15pm UTC](https://forums.unrealengine.com/t/hud-message-device-doesnt-hide-hud-when-called-through-verse-after-calling-show-on-specific-agents/1302149/13 "2024-12-03T17:15:28Z")

</div>

FORT-762417 has been ‘Closed’. We’re unable to reproduce this issue.
