UI Navigation's default behavior does not work very well on non-aligned layouts

I’m working on a project where the main menu looks roughly like this:

(The layout is intentionally misaligned for artistic reasons, just like in the aforementioned project)

While Navigation mode is enabled and you move the selection, it looks like the navigation system uses the top-left corner as a reference of where to go next. This works well most of the time, but will fail in edge cases like these.

In this example, pressing Up on button D will select button A while most players (and developers) would reasonably expect it to select button B instead.

A workaround exists - simply set NextSelection* of the affected button(s) to the correct selections.

Minimal Reproduction Here: bugreport-autonav.rbxl (54.7 KB)

Thanks for flagging this! We’re working on some improvements that will address this in the future; for now, we recommend using nextSelection to determine the next selected item.

1 Like