Widget Navigation Does Not Work Diagonally

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

Custom Hit Testing | Unreal engine Code Snippet

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

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.

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.