As mentioned earlier, we need to create submenus for our buttons to navigate to. Using UMG, there are several ways to create submenus, but the most straightforward way is to create a new Widget Blueprint for each submenu and then bind the Widget Blueprints together.
Since we will need many of the same items in our submenus such as the character names and most of their stats, we can save a lot of time by carefully making a copy of our main pause menu, renaming it, and then editing it to fit whatever submenus we need. Since we have initially saved the main pause menu as Pause, we may want to first rename it so that it is more descriptive. So head back into your Content Browser, locate where you saved your pause menu, and rename it by right-clicking on the pause menu widget and selecting Rename. Rename this file as Pause_Main:
Next, make a duplicate of Pause_Main by right clicking on the file and selecting Duplicate:
Rename this as Pause_Inventory:
We will now be able...