The navigation bar is a very common interface in games, which provides users with a series of operation prompts that can be triggered by pressing the relevant buttons when navigating a menu, thus significantly simplifying the interaction between the keyboard/game controller and the interface.
To add a navigation action switcher, simply drag WBP_KeyActionSiwtcher into the WidgetTree and perform a simple configuration.
In its properties column, there is a property called UIActions, which is under the UI System category:
You can add the list of actions you want here, and then in 2. NavigationWidget_Main , you can use the OnCustomActionTriggered overload to trigger the actions configured here.
For the buttons corresponding to the actions in the UIActions list, you can configure them in Edit→Project Settings→Game→Advanced UI System page:
For the key icon style of WBP_KeyActionSwitcher you can change it in DT_UIKeyIcons.
Two styles configuration examples: