# Keyboard doesn't interact with UI 

**URL:** <https://forums.unrealengine.com/t/keyboard-doesnt-interact-with-ui/2764509>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [September 10, 2026, 5:50pm UTC](https://forums.unrealengine.com/t/keyboard-doesnt-interact-with-ui/2764509 "2026-09-10T17:50:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bruntoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bruntoc](https://forums.unrealengine.com/u/Bruntoc)\
**Post date:** [September 10, 2026, 5:50pm UTC](https://forums.unrealengine.com/t/keyboard-doesnt-interact-with-ui/2764509/1 "2026-09-10T17:50:43Z")

</div>

Hy, I’m doing the UI menus for an Aracade Game and I got a simple problem:

I can **click** and interact with all my widgets buttons without problem, but I can’t interact with them with a simple press Key event like in the screen below.

 ![Capture d’écran 2026-09-10 142555](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/9/d/99d1096c7006c26694dbe9119382b6a66050c5bc.png)

I enable “IsFocusable” and try to force the “Set Keyboard Focus” on self but it changes nothing. Is there possibly something I forgot to set up in the HUD ? Or in the widget directly ? Is a GameMode needed ?

Thank for your time and reply 👍

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 11, 2026, 3:07am UTC](https://forums.unrealengine.com/t/keyboard-doesnt-interact-with-ui/2764509/2 "2026-09-11T03:07:24Z")

</div>

You need to know that keyboard key triggers depend on player controller possession, not the character/actor class. You will have to implement keyboard functions inside a possessed (by the controller) actor class. You could also use delegate functions if you want to encapsulate the keyboard execution inside the widget class; that way, you can have a more proper structure.

---

<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:** [September 11, 2026, 1:40pm UTC](https://forums.unrealengine.com/t/keyboard-doesnt-interact-with-ui/2764509/3 "2026-09-11T13:40:19Z")

</div>

> [@Bruntoc](#):
>
> Is there possibly something I forgot to set up in the HUD ? Or in the widget directly ?

Override `onKeyDown` in the widget.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/7/c/97c96ceec5129696b10e00a0e3d53bd94714cc3c.png)

So, something along these lines:

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

* * *

However, depending on how advanced the controls are supposed to be, it might be a better idea to set them up in the controller and propagate to blueprints that are supposed to process it.

---

<div class="post-metadata">

**Author:** ![Bruntoc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Bruntoc](https://forums.unrealengine.com/u/Bruntoc)\
**Post date:** [September 12, 2026, 12:22pm UTC](https://forums.unrealengine.com/t/keyboard-doesnt-interact-with-ui/2764509/4 "2026-09-12T12:22:21Z")

</div>

Thank you 🙏 and ok I understand the possible scalabilty problem with the OnKeyDown override. I’ll check for your last advice

---

<div class="post-metadata">

**Author:** ![56legion](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/56legion/32/1194529_2.png) [@56legion](https://forums.unrealengine.com/u/56legion)\
**Post date:** [September 16, 2026, 8:46pm UTC](https://forums.unrealengine.com/t/keyboard-doesnt-interact-with-ui/2764509/5 "2026-09-16T20:46:30Z")

</div>

As what @Everynone said, using the overriding function(s) method is just a temporary solution. I would still recommend that you use a better approach by implementing delegates (as I proposed) or in Blueprint; it’s called an Event Dispatcher.
