# Event dispatchers doesn't appear

**URL:** <https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373>\
**Category:** Blueprint\
**Tags:** unreal-engine, UE4, question, Blueprint\
**Created:** [August 7, 2016, 11:04am UTC](https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373 "2016-08-07T11:04:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![CarlMckayre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CarlMckayre](https://forums.unrealengine.com/u/CarlMckayre)\
**Post date:** [August 7, 2016, 11:04am UTC](https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373/1 "2016-08-07T11:04:09Z")

</div>

Hello, I have called an event dispatcher in my HUD.

 ![101858-screenshot1.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/6/8/16801561626164d8bbe4654d7d87ca0165b4988a.jpeg)

But, when I want add this event in my level blueprint, it doesn’t appear.

 ![101859-screenshot2.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/3/5/335840da0ea70197be2196c20b4de23861e8838d.png)

Why?

---

<div class="post-metadata">

**Author:** ![Spiris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spiris](https://forums.unrealengine.com/u/Spiris)\
**Post date:** [August 7, 2016, 7:14pm UTC](https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373/2 "2016-08-07T19:14:11Z")

</div>

You need to have a reference to your HUD in order to bind to it’s event dispatcher. Because HUD’s are not readily available in level until the game is underway, you will need to do something like this in order to access it properly.

 ![101909-capture.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/5/6/c56a51eccffafd15e79cc2e551c02d716faa7864.png)

Hope this helps!  
-Spiris

---

<div class="post-metadata">

**Author:** ![CarlMckayre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CarlMckayre](https://forums.unrealengine.com/u/CarlMckayre)\
**Post date:** [August 9, 2016, 11:33am UTC](https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373/3 "2016-08-09T11:33:46Z")

</div>

I did it, but when I compile, there is a warning.

 ![102106-screenshot3.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/d/8/3d8d79a2df8b414a838fadc6eacd4e3eeba3749b.jpeg)

---

<div class="post-metadata">

**Author:** ![plojnitza](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@plojnitza](https://forums.unrealengine.com/u/plojnitza)\
**Post date:** [August 9, 2016, 11:56am UTC](https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373/4 "2016-08-09T11:56:57Z")

</div>

You are using UMG. Just get the UserWidget instead of the HUD object.  
HUD classes are old and recommended to be used only for fast prototyping.

You probably add your HUD object (derived from User Widget) somewhere. Be sure to keep a reference to it so you can bind to it

---

<div class="post-metadata">

**Author:** ![CarlMckayre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CarlMckayre](https://forums.unrealengine.com/u/CarlMckayre)\
**Post date:** [August 9, 2016, 4:41pm UTC](https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373/5 "2016-08-09T16:41:15Z")

</div>

So, how I can fix it ?

---

<div class="post-metadata">

**Author:** ![Spiris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Spiris](https://forums.unrealengine.com/u/Spiris)\
**Post date:** [August 9, 2016, 5:00pm UTC](https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373/6 "2016-08-09T17:00:49Z")

</div>

Where are you spawning your widget in the world? If it is on a player controller, you would get it off of your player controller, like the HUD class. If it has a reference stored on a pawn, you would get that pawn and grab the reference from it, and so on.

---

<div class="post-metadata">

**Author:** ![CarlMckayre](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CarlMckayre](https://forums.unrealengine.com/u/CarlMckayre)\
**Post date:** [August 9, 2016, 8:01pm UTC](https://forums.unrealengine.com/t/event-dispatchers-doesnt-appear/366373/7 "2016-08-09T20:01:55Z")

</div>

That works, thanks.
