When I go to menu the button is still there how can I hide that controls ?
This is the blueprint of my RETURN TO GAME MENU
When I go to menu the button is still there how can I hide that controls ?
This is the blueprint of my RETURN TO GAME MENU
If your controls are also made with a UMG Widget, it should simply be possible by using the SetVisibility function for these controls.
Can you make example blueprint of that ?
Here’s a simple example triggered from a player blueprint. Main Widget is a UMG Widget Blueprint. If you have the reference to the widget, it is important, that the Variables have checked the Is Variable in the Widget designer, so that the element is accessible - here the IMG Feed Chicken variable.
Now you can set the visibility, e.g. “Collapsed” like in the example. The hover help shows you a description of the available states.
For the “Is Variable”