# Set IsFocusable

**URL:** <https://forums.unrealengine.com/t/set-isfocusable/750018>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [January 15, 2023, 7:44pm UTC](https://forums.unrealengine.com/t/set-isfocusable/750018 "2023-01-15T19:44:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![LMABit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lmabit/32/612131_2.png) [@LMABit](https://forums.unrealengine.com/u/LMABit)\
**Post date:** [January 15, 2023, 7:44pm UTC](https://forums.unrealengine.com/t/set-isfocusable/750018/1 "2023-01-15T19:44:04Z")

</div>

So it seems I can get IsFocusable from a button in a widget but I can’t find “Set IsFocusable”… Does anyone know the reason behind this? I am trying to disable focus when opening a grid of buttons using tab because otherwise the key will scroll through all elements in the grid when you want to close it again pressing Tab. For a gamepad is good having IsFocusable → true but when using mouse and keyboard it should be → false. Anyone?

---

<div class="post-metadata">

**Author:** ![1337Vinci](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/1337vinci/32/610794_2.png) [@1337Vinci](https://forums.unrealengine.com/u/1337Vinci)\
**Post date:** [January 15, 2023, 8:19pm UTC](https://forums.unrealengine.com/t/set-isfocusable/750018/2 "2023-01-15T20:19:16Z")

</div>

Are you using Common UI plugin? It has more functionalities and for example you can create your own button class based on CommonButtonBase. Afterwards you can use this node:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/a/3/ca336c46985d222fcbeb60c09b561006a50f71de.png)

---

<div class="post-metadata">

**Author:** ![LMABit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lmabit/32/612131_2.png) [@LMABit](https://forums.unrealengine.com/u/LMABit)\
**Post date:** [January 15, 2023, 9:47pm UTC](https://forums.unrealengine.com/t/set-isfocusable/750018/4 "2023-01-15T21:47:14Z")

</div>

Never heard of it. Thanks for bringing that up. Now how would I create my own button class with the plugin? Or anywhere I can read about this?

Would you say there is no way to get set is focusable in blueprints using the regular button?

---

<div class="post-metadata">

**Author:** ![1337Vinci](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/1337vinci/32/610794_2.png) [@1337Vinci](https://forums.unrealengine.com/u/1337Vinci)\
**Post date:** [January 15, 2023, 10:30pm UTC](https://forums.unrealengine.com/t/set-isfocusable/750018/5 "2023-01-15T22:30:05Z")

</div>

I don’t see option to do it with regular button.  
You can learn more about Common UI on [this site](https://benui.ca/unreal/common-ui-intro/) (btw it has a lot of amazing learning resources - kudos to the Creator)  
To create your own button you have to make new BP class derived from CommonButtonBase:  
 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/8/6/8860e5c3a533e37ec44db04bb58240a0bac7b98c.png)

But first you have to enable Common UI Plugin:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/1/0/7108e60a81a327c0f135b85bbd54ac336f2576ac.png)

---

<div class="post-metadata">

**Author:** ![LMABit](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/lmabit/32/612131_2.png) [@LMABit](https://forums.unrealengine.com/u/LMABit)\
**Post date:** [January 15, 2023, 10:43pm UTC](https://forums.unrealengine.com/t/set-isfocusable/750018/6 "2023-01-15T22:43:48Z")

</div>

I found the web earlier. I have to give it a go and see how everything works. Looks promising specially creating a common activatable widget. Need to see if that could solve the problem I am having when using tab. Maybe you don’t even need to mess with the focus when it does that automatically.

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/d/2/6d284b98db27e49d5a69d9baf2a0a887ff23d42c.jpeg "Common UI tutorial - easy gamepad UI in Unreal Engine 5") ](https://www.youtube.com/watch?v=uQisYatymjg)

---

<div class="post-metadata">

**Author:** ![Piires](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/piires/32/1214196_2.png) [@Piires](https://forums.unrealengine.com/u/Piires)\
**Post date:** [November 7, 2023, 9:06pm UTC](https://forums.unrealengine.com/t/set-isfocusable/750018/7 "2023-11-07T21:06:50Z")

</div>

Thank you! I’ve never heard of this headache savior!
