ERROR:SCRIPT: ui/ui.gui_script:4: No such node: menu_template
stack traceback:
[C]:-1: in function get_node
ui/ui.gui_script:4: in function <ui/ui.gui_script:1>
I’m confused, why is it telling me that no such node although the node exists?
gui.set_enabled(gui.get_node("menu_template"), true)
To give context I have this gui inside of the main collection and the main collection is the default collection. Everything inside the gui is disabled on default, and I’m trying to enable specifically the menu template when the game starts inside ui.gui
.
Someone said you can upload the game files here so here’s the link to the files, sorry for it being so big. There’s also a lot of things not working right now, I’m just trying to figure out how to enable the menu template. Thanks to anyone who replies in advance and sorry if the problem’s super obvious. It does work if you set it to be enabled by default in the editor, but I want to eventually set it programmatically based on conditions met so I’m just testing enabling it.