# InputKeySelector navigation rules do not work

**URL:** <https://forums.unrealengine.com/t/inputkeyselector-navigation-rules-do-not-work/2639565>\
**Category:** UI\
**Tags:** unreal-engine, question\
**Created:** [August 12, 2025, 8:35pm UTC](https://forums.unrealengine.com/t/inputkeyselector-navigation-rules-do-not-work/2639565 "2025-08-12T20:35:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kotaru\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Post date:** [August 12, 2025, 8:35pm UTC](https://forums.unrealengine.com/t/inputkeyselector-navigation-rules-do-not-work/2639565/1 "2025-08-12T20:35:00Z")

</div>

While using InputKeySelector, I wanted to use a custom navigation method, but found that it would never trigger my navigation function.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/7/b5748e12eee7ac53335e40921ce37bfc0b44c194.png)

Setting regular buttons to this navigation rule works properly, however with InputKeySelectors, it never calls the bound function.

Instead it seems to use the “Escape” navigation method. In fact, setting the navigation rule to any other navigation method (e.g. “Stop” or “Explicit”) seems to result in the “Escape” functionality

---

<div class="post-metadata">

**Author:** ![Kotaru\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kotaru\_1](https://forums.unrealengine.com/u/Kotaru_1)\
**Post date:** [August 13, 2025, 9:38pm UTC](https://forums.unrealengine.com/t/inputkeyselector-navigation-rules-do-not-work/2639565/2 "2025-08-13T21:38:07Z")

</div>

I’ve found through debugging that for SInputKeySelector, when calling the parent (SWidget) “OnNavigation” method, when attempting to retrieve the FNavigationMetaData, it returns a nullptr, forcing it to default to “FNavigationReply::Escape”

```auto
FNavigationReply SWidget::OnNavigation(const FGeometry& MyGeometry, const FNavigationEvent& InNavigationEvent)
{
   EUINavigation Type = InNavigationEvent.GetNavigationType();
      
       // Returns Null
   TSharedPtr<FNavigationMetaData> NavigationMetaData = GetMetaData<FNavigationMetaData>();

       // Check fails
   if (NavigationMetaData.IsValid())
   {
   	TSharedPtr<SWidget> Widget = NavigationMetaData->GetFocusRecipient(Type).Pin();
   	return FNavigationReply(NavigationMetaData->GetBoundaryRule(Type), Widget, NavigationMetaData->GetFocusDelegate(Type));
   }

       // Returns this
   return FNavigationReply::Escape();
}

```

However, Buttons successfully retrieve this FNavigationMetaData, and will therefore execute the code in the if statement.

Still not sure what’s causing this yet, but it’s a start
