# Widget Navigation Does Not Work Diagonally

**URL:** <https://forums.unrealengine.com/t/widget-navigation-does-not-work-diagonally/597825>\
**Category:** Issues and Bug Reporting\
**Tags:** unreal-engine, bug-report, Widget, CPP, Blueprint, question, UMG\
**Created:** [July 5, 2022, 7:53pm UTC](https://forums.unrealengine.com/t/widget-navigation-does-not-work-diagonally/597825 "2022-07-05T19:53:46Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Roy\_Wierer.Seda145](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/roy_wierer.seda145/32/906551_2.png) [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Post date:** [April 12, 2023, 4:00am UTC](https://forums.unrealengine.com/t/widget-navigation-does-not-work-diagonally/597825/12 "2023-04-12T04:00:19Z")

</div>

Hi @Cody.Albert , thank you for posting this snippet:

> [Custom Hit Testing | Unreal engine Code Snippet](https://dev.epicgames.com/community/snippets/oND/unreal-engine-custom-hit-testing)

Is there something UI designers (non programmers) can implement in UserWidgets to make these diagonal buttons hit testable with the up / down arrow?

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/7/fb738e108e96bb545ccd7822818a9c4437d15dd8.png) ](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/b/7/fb738e108e96bb545ccd7822818a9c4437d15dd8.png)

We can’t apply the code snippets where the button panel generation is mostly procedural but the button placement is up to the designer. We run into a situation where navigation keys simply can not shift focus from one to another automatically even when the buttons are close to one another as on that image.

I expected that there would be a simple fix, for example to make the parent panel hit testable, but this does not work.

Side note, I have been collecting a bunch of Slate bugs in UE4 and UE5 I hope the team will take a look at some day.

> [WIP Guide to Slate / UMG + dealing with current issues.](https://forums.unrealengine.com/t/wip-guide-to-slate-umg-what-you-wish-you-knew-years-ago/819422)

I think it could be a solution to have the directional keys act like the tab key (Slate NavNext) if they are not handled, since that action does support diagonal navigation somehow. Gamepads don’t have a tab key so they get totally stuck on most menus.

---

_[View the full topic](https://forums.unrealengine.com/t/widget-navigation-does-not-work-diagonally/597825)._
