Download

Widget parent and Child and removing from Viewport

SOLVED

**Please read everything and follow the images from both sets in order to make this work. You can add functionality to the buttons by setting variables so that the system will know when a button is selected and then checking that variable in order to move forward with whatever you want them all to do. **

I’m working on a system that would allow me to have gamepad support on my Title Menu.

I have a Widget for my Background and the Normal State of the buttons,
and then I have separate widgets for each of the button’s Active State.

In my Level Blueprint I add the Title Screen to the Viewport and add the first Active Button Widget (So the player would have New Game Selected by default)

Then right below it I make it so that when the Player presses Down, it uses a multigate that is then connected to playing the sound of the button changes, and then I call different functions that adds the different Active Widgets to the screen.

Now here’s my Problem.

How can I create different functions that would remove the active state widgets from the Viewport?

The problem seems to be that I am unable to reference the different widgets that are created in order to remove them. I feel like I am on the borderline of making this fully functional, so I would really appreciate any advice!

I will share the information with everyone because Gamepad driven UMG seems to not be possible and a lot of people are posting about it and no solid answers seems to come up. Gamepad support for umg is very heavily needed for 90% of my game.

b95498cef7a6fac0e19b44cf3aa75fc32b55ad14.jpeg

7b46feb8d148520eb01a23037c030a0eb02d1b99.jpeg

61ddab040b674fc369f8d2e100d26b602f370cb9.jpeg

75c1a578d08cf19f5de2cd559421bb5931269dce.jpeg

SOLVED HERE’S HOW TO USE GAMEPAD SUPPORT WITH A UMG TITLE SCREEN

Follow my above instructions, but when you create the widgets, you will need to promote to variable first. Here are the screens of the blueprints that made it work for me:

Remember to make new Blueprint Widgets for all of the Buttons with those button’s selected graphic in the normal state.

08c86ea59591cd3862b73846ae98b4c6d5f688e8.jpeg

0e6bc9a46ed301a8cb8c42ff5da24e6d8fb06aab.jpeg

9c089c3e635051c33fed03a5b407ac5449c6da72.jpeg

57550382ab0a732389071fe31de82f61724ce48b.jpeg

1cf1273bf0ac34fb45b9cba7ae3438ac74384781.jpeg

Please let me know if there’s a better way to do this, improvements, ets. Please don’t be too harsh, I just wanted to share this with all the people who seem to post about this and never seem to find the right answers.