Hello everyone,
I know there are similar questions but I think I’m too dumb to figure out this myself with different examples
I have 2 menus made with UMG. When I start playing I press the M button and menu appears, if I press M again, it disappears.
The menu has 2 tabs, one for general info and other for options. If I press the options tab, I cant disable the menu pressing M anymore.
This is my widget blueprint. If I press the button it goes to the selected menu and removes the actual menu and viceversa.
Now in my level blueprint I created a Flipflop node, so when I first press M it creates my menu.
But when I press M again I set it to remove from parent every widget (I created references for them)
Is there a way for removing every widget on screen? I want M to disable every single of them, even if I clicked 100 times between tabs.
In my level blueprint I only create my_menu widget blueprint because thats the one where you always start. Once you are inside it you can change to floorplan or return to my_menu.
So when I press my first onclicked842 it removes the my_menu widget and shows floorplan. With onclicked830, its the same but in the other way.
That works just fine, but I wanted to press M in my level_blueprint and remove both of them. Right now pressing M only removes my_menu3 widget.
I tried adding a reference to floorplan widget to remove from parent, but it didnt work.