NodeProxy
is the type returned by gui.get_node()
and is what you need to pass to most GUI functions:
function on_message(self, message_id, message, sender)
if message_id == hash("enable-my_house_sign") then
local box = gui.get_node("box")
gui.set_enabled(box, "true")
end
end