yuma9921jp
(yuma9921jp)
October 17, 2023, 2:13am
24
SteveRambo:
Edit 2: Ah I think I know your “problem”. It is actually working fine. You are reloading the same level you already have open, so it looks like nothing is happening. It is in fact opening the level. The problem is you need to clear the widget from the screen after pressing play. Add the following function: “Remove all widgets”. This clears ALL widgets from the viewport. If you want to only remove 1 widget, you need to save a reference to it in a variable, then use “Remove from parent” instead.
I have been getting confused about what I should do. Then I think that it might be better to delete the current main menu and create a new one. If so, where should I create a new file??