I followed countless tutorials online about making menus. I was informed that they changed the name from “Remove from Viewport” or something like that to “Remove from parent”. I have it lined up, and when I hit play, the widget appears like it should, but when I click the widget, it does not go away. What am I missing? I followed the Unreal tutorial as well… Please help.
Yes. I made a simple script that just prints ‘Hello’ when you click it and it does, I can use the ‘Remove All Widgets’ node on the level blueprint to make them go away, but of course that removes every widget on the screen. I wonder if remove from parent is broken? (Or I’m just not using them right…)
Just did another test and it seems to work now when I put in the open level and remove from parent?? That’s weird… I’ll let you know if something else happens. Thanks for the help
I put the remove from parent after doing the things that it has to do, seems to be working now, but it wasn’t before. Make sure to compile your scripts each time you change something before trying it in the viewer…
I put the remove from parent after doing the things that it has to do, seems to be working now, but it wasn’t before. Make sure to compile your scripts each time you change something before trying it in the viewer…
I put the remove from parent after doing the things that it has to do, seems to be working now, but it wasn’t before. Make sure to compile your scripts each time you change something before trying it in the viewer…
I had the same problem for a while, but when I made the menu smaller, I saw the level was already open. I only followed the [UE4 documentation][1].
The problem: I hit ‘Play’, the level opens, and in the ‘Level Blueprint’, the ‘Event BeginPlay’ creates the menu widget. On the menu, I hit Play, the ‘Open level’ starts the level again, which creates the menu again.
Solution: Make another level only for the menu, which opens the original playing level.
Easier solution: Don’t use ‘Open level’.
I’m sure others know better solutions, but if someone else has this problem too and can’t find any answer, maybe my solution helps…