# Problem with widget buttons

**URL:** <https://forums.unrealengine.com/t/problem-with-widget-buttons/777076>\
**Category:** Game Development\
**Tags:** unreal-engine, Widget, question, Blueprint\
**Created:** [February 23, 2023, 1:46pm UTC](https://forums.unrealengine.com/t/problem-with-widget-buttons/777076 "2023-02-23T13:46:40Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![BDO365](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BDO365](https://forums.unrealengine.com/u/BDO365)\
**Post date:** [February 23, 2023, 1:46pm UTC](https://forums.unrealengine.com/t/problem-with-widget-buttons/777076/1 "2023-02-23T13:46:40Z")

</div>

Hello everyone,

I made widget for player info like health and coin Etc. when the player dies in the same widget the switcher switch it to another widget, there are several buttons the player can restart the level or exit the game, the problem is when I make the buttons with event on click the buttons do nothing, but when I make the event on pressed it’s work, why this is happen with me. and sorry for bad explaining but I tried my best.

this video for more detail.

[Video - YouTube](https://www.youtube.com/watch?v=58SWzTgaDBs&feature=youtu.be)

---

<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:** [February 23, 2023, 1:57pm UTC](https://forums.unrealengine.com/t/problem-with-widget-buttons/777076/2 "2023-02-23T13:57:43Z")

</div>

So… are you saying that _in the same widget_:

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/d/c/adc6fbe41c2e0396819611959c7e08dc05714c52.png)

One of them works and the other does not? The only difference here is _when_ they trigger.

* * *

We will need more details.

---

<div class="post-metadata">

**Author:** ![BDO365](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BDO365](https://forums.unrealengine.com/u/BDO365)\
**Post date:** [February 23, 2023, 4:13pm UTC](https://forums.unrealengine.com/t/problem-with-widget-buttons/777076/3 "2023-02-23T16:13:59Z")

</div>

watch this video I can’t explain more, because I don’t know how this happened to me.

[Video - YouTube](https://www.youtube.com/watch?v=58SWzTgaDBs)

---

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [February 23, 2023, 10:50pm UTC](https://forums.unrealengine.com/t/problem-with-widget-buttons/777076/4 "2023-02-23T22:50:28Z")

</div>

Hey @BDO365!

What happens when you disconnect get player controller from specific player? Do you get the same results?

 ![cwboOGSpeB](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/f/a9f76308a5fa74fee229964a4be285005a38050e.png)

Any additional specifics about your blueprints or how you are possessing your player may be a big help in solving your problem!

---

<div class="post-metadata">

**Author:** ![BDO365](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BDO365](https://forums.unrealengine.com/u/BDO365)\
**Post date:** [February 23, 2023, 10:52pm UTC](https://forums.unrealengine.com/t/problem-with-widget-buttons/777076/5 "2023-02-23T22:52:28Z")

</div>

I was trying maybe it will work, but yes is giving me the same result.

---

<div class="post-metadata">

**Author:** ![Quetzalcodename](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Quetzalcodename](https://forums.unrealengine.com/u/Quetzalcodename)\
**Post date:** [February 24, 2023, 10:29pm UTC](https://forums.unrealengine.com/t/problem-with-widget-buttons/777076/6 "2023-02-24T22:29:45Z")

</div>

Hey @BDO365,

This is some odd behavior. Can you give us more details about your blueprints like how you are activating your menu and how you are possessing your player? At the moment, we don’t have much to go on to help you and will need more information on your part.

Any additional information you provide may go a long way in solving your problem.

---

<div class="post-metadata">

**Author:** ![BDO365](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@BDO365](https://forums.unrealengine.com/u/BDO365)\
**Post date:** [February 27, 2023, 11:22am UTC](https://forums.unrealengine.com/t/problem-with-widget-buttons/777076/7 "2023-02-27T11:22:23Z")

</div>

It’s working know, you can say am an idiot but I wasn’t know about  
in widget to focus, and I didn’t know I can get self reference.  
 ![Screenshot_20230227_021916](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/1/9/0196569473588c4d0bd6c4afaeae08d56335b7d8.png)

but thank you for trying to answer me.
