# custom button widget won't "press" with spacebar when within another widget

**URL:** <https://forums.unrealengine.com/t/custom-button-widget-wont-press-with-spacebar-when-within-another-widget/2675710>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [November 17, 2025, 12:45am UTC](https://forums.unrealengine.com/t/custom-button-widget-wont-press-with-spacebar-when-within-another-widget/2675710 "2025-11-17T00:45:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fael097](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fael097/32/250778_2.png) [@fael097](https://forums.unrealengine.com/u/fael097)\
**Post date:** [November 17, 2025, 12:45am UTC](https://forums.unrealengine.com/t/custom-button-widget-wont-press-with-spacebar-when-within-another-widget/2675710/1 "2025-11-17T00:45:25Z")

</div>

I made a custom button widget with the styling and exposed params I want for modularity:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/6/a/e6afc58e60e9230679235c41ec3b293e43009079.png)

If I add many of these buttons into another widget, keyboard navigation and interaction work just fine, I can use the arrows to navigate between different buttons, and press the space bar for button press functionality.

Then I made another widget, which should work as a quest entry in a quest log. this quest entry widget has this custom button inside it:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/5/8/358a124d054932805a4be0bc5b8f0c23d41528d7.png)

But when I add some of those quest entries to my quest log widget, space bar won’t work for button press, unless I click the button with mouse left button first. arrow navigation still works, buttons will get focused, but even though a button has focus, space bar press doesn’t work before I click that button.

Any ideas how to fix this?

---

<div class="post-metadata">

**Author:** ![fael097](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fael097/32/250778_2.png) [@fael097](https://forums.unrealengine.com/u/fael097)\
**Post date:** [November 17, 2025, 1:44am UTC](https://forums.unrealengine.com/t/custom-button-widget-wont-press-with-spacebar-when-within-another-widget/2675710/2 "2025-11-17T01:44:38Z")

</div>

to debug, I checked if the quest log entry or the button widget itself had focus:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/0/6/606c6130c3b2f9fa34ab8e01605b69628f7a4ef4.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/0/3/e0342df8b140931e5187c2b441aa098f5fdfd46b.png)

even though on the quest entry widget debug I was checking if the subwidget had focus, it returned true, and when I clicked the button, the button template itself got focused. when using arrows to navigate, focus went back to the quest entry widget below.

I tried setting keyboard focus to the button widget itself on quest entry added to focus path, but that was causing an infinite loop, even though the button itself wasn`t getting focused.

so I created a custom event to set keybaord focus to the specific button widget:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/7/1/37177f21ce49b740c8f0ee67b6882d67b098247a.png)

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/0/6/106365ee7559b55b8264317c6efbabf6bce353b4.png)

Now it works properly, but I’d still like to know why it doesn’t hand over focus properly and causes an infinite loop
