# Inside Unreal: Introduction to Common UI

**URL:** <https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301>\
**Category:** Announcements\
**Tags:** unreal-engine, InsideUnreal\
**Created:** [July 21, 2022, 3:14pm UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301 "2022-07-21T15:14:31Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![Vaei](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/vaei/32/710746_2.png) [@Vaei](https://forums.unrealengine.com/u/Vaei)\
**Post date:** [October 16, 2022, 2:03am UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/22 "2022-10-16T02:03:17Z")

</div>

I decided to give up on keyboard nav because it wasn’t essential for my game, it can make do without it, but I still want it.

And yes, now echoing what you have posted, I find it really odd that they bothered with a solution that doesn’t support multiple inputs - the most obvious scenario is WASD+Arrow keys for menu nav haha. Sensing a pattern.

---

<div class="post-metadata">

**Author:** ![evandropaulino](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/evandropaulino/32/706561_2.png) [@evandropaulino](https://forums.unrealengine.com/u/evandropaulino)\
**Post date:** [November 1, 2022, 9:13pm UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/23 "2022-11-01T21:13:20Z")

</div>

This is one of the best plugins ever developed for Unreal, together with GAS.

But there is one pending issue, I think: clicking with the mouse outside the widget it loses the focus, and even gamepad doesn’t work anymore. Is there a way to handle this, different of polling frequently to check the focus state?

---

<div class="post-metadata">

**Author:** ![Patterson](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/patterson/32/88716_2.png) [@Patterson](https://forums.unrealengine.com/u/Patterson)\
**Post date:** [November 5, 2022, 11:49pm UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/24 "2022-11-05T23:49:26Z")

</div>

> **[Common UI Plugin - Keyboard Navigation | Community tutorial](https://dev.epicgames.com/community/learning/tutorials/B5R6/unreal-engine-common-ui-plugin-keyboard-navigation)**
>
> Common UI is a great Plugin; however, the documentation is sparse right now and people are having issues with Keyboard Navigation. I managed to get Keyb...

@Vaei @eobet @BlenderGamer @Ciberus @E_PepeGamer

I hope my tutorial helps and would welcome your feedback!

---

<div class="post-metadata">

**Author:** ![BIGTIMEMASTER](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bigtimemaster/32/710746_2.png) [@BIGTIMEMASTER](https://forums.unrealengine.com/u/BIGTIMEMASTER)\
**Post date:** [November 6, 2022, 3:57pm UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/25 "2022-11-06T15:57:09Z")

</div>

add an empty border that covers the whole screen and you wont lose focus on click

edit: an overlay may work too

---

<div class="post-metadata">

**Author:** ![Ciberus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ciberus/32/561261_2.png) [@Ciberus](https://forums.unrealengine.com/u/Ciberus)\
**Post date:** [November 8, 2022, 10:50am UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/26 "2022-11-08T10:50:39Z")

</div>

Btw I also solved it in similar way for ItemSlot’s and added selectable support for CommonTileView’s/other “lists” widgets

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/6/6/366daadedf7f6c05f88ea5b1ad29876c0c6b37bb.png)

---

<div class="post-metadata">

**Author:** ![Morgondag](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/morgondag/32/465838_2.png) [@Morgondag](https://forums.unrealengine.com/u/Morgondag)\
**Post date:** [November 12, 2022, 3:16pm UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/27 "2022-11-12T15:16:03Z")

</div>

This is great, but how do you solve keyboard navigation?  
Do you have to run a OnTck and check every button if keyboard is focused and then trigger the hover state manually? Very painful.

---

<div class="post-metadata">

**Author:** ![Ciberus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ciberus/32/561261_2.png) [@Ciberus](https://forums.unrealengine.com/u/Ciberus)\
**Post date:** [November 14, 2022, 8:34am UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/28 "2022-11-14T08:34:44Z")

</div>

> Do you have to run a OnTck and check every button if keyboard is focused and then trigger the hover state manually

Yes as example i have equipement screen, cant use “list” here. On Construct I just save all buttons in array 🙃

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

On click “Change” i searching for selected “ItemSlot” in buttons array and “do something”(in my case navigate to another screen)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/f/5/7f57d56da80ab5738c995d5d0f1d5a9a53fe6e7d.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/e/a/6eab7e999333e97df445cf7528d1f62bba4d885d.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/4/d/5/4d5aa82106151afce45a278b32aad9b6be3caa81.png)

If its possible better to use “lists” like CommontTileView/ListView/TreeView its easier to take selected item for example I have EquipItemScreen on press “E” you can get selected item

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/a/0/6a08e19e037ac110dd0b383ff77e519bbc2e5c9f.png)  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/9/f/e9faab7b71adb07aef07edd315310a5cca0b7921.png)

Hope it will helps a bit

---

<div class="post-metadata">

**Author:** ![Ciberus](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/ciberus/32/561261_2.png) [@Ciberus](https://forums.unrealengine.com/u/Ciberus)\
**Post date:** [February 11, 2024, 4:17pm UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/29 "2024-02-11T16:17:22Z")

</div>

Found how to solve issue with keyboard navigation - mouse click in random space should not remove focus from buttons

> [@Common UI and Keyboard ONLY, no Mouse](https://forums.unrealengine.com/t/common-ui-and-keyboard-only-no-mouse/1234750/4):
>
> Btw in case anyone wants to support mouse also, I found a solution and verified it works in production Mostly when you click outside any widget, UI Viewport receives focus, to prevent such behavior. Create button class inherited from UCommonButtonBase with NativeOnFocusChanging // UBBaseCommonButton.cpp class BOGATYR\_API UBBaseCommonButton : public UCommonButtonBase, public IUserObjectListEntry { GENERATED\_BODY() public: #if PLATFORM\_DESKTOP || WITH\_EDITOR virtual void NativeOnFocusCh…

---

<div class="post-metadata">

**Author:** ![JasonKorda](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jasonkorda/32/898596_2.png) [@JasonKorda](https://forums.unrealengine.com/u/JasonKorda)\
**Post date:** [March 3, 2024, 9:47pm UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/30 "2024-03-03T21:47:24Z")

</div>

Hello! I was wondering how I can use Enhanced Input instead of the inputs from the common UI input action data table? I believe this is possible and I know there’s an option to turn it on, but I can’t find a way to make it work on my own.

---

<div class="post-metadata">

**Author:** ![Fobal](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fobal/32/1216504_2.png) [@Fobal](https://forums.unrealengine.com/u/Fobal)\
**Post date:** [May 28, 2024, 6:07pm UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/32 "2024-05-28T18:07:46Z")

</div>

Check this link. Note it’s still flagged as experimental in 5.4 so this system structure may change in the future.

> **[Using Common Ui With Enhnaced Input In Unreal Engine | Unreal Engine 5.4...](https://dev.epicgames.com/documentation/en-us/unreal-engine/using-commonui-with-enhnaced-input-in-unreal-engine?application_version=5.4)**
>
> Learn how to incorporate Enhanced Input with CommonUI's input system.

---

<div class="post-metadata">

**Author:** ![Cody325M](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/cody325m/32/911474_2.png) [@Cody325M](https://forums.unrealengine.com/u/Cody325M)\
**Post date:** [November 6, 2024, 8:11am UTC](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301/33 "2024-11-06T08:11:30Z")

</div>

I did it by overriding CommonActivatableWidget::GetDesiredInputConfig() in BP. Some widgets I want to show, but allow the character to move around, but some I want to disable the movement of the character while they’re on the stack

[Previous page](https://forums.unrealengine.com/t/inside-unreal-introduction-to-common-ui/610301.md?page=1)
