I am learning Gscript, I have a very basic background of programming in python, but I run into a problem that I can't understand.
I have a bool variable in other script and a delta process in another script which calls this Bool
The problem is that the value of the variable never changes.
The script delta is these:
onready var change = get_tree().get_root().get_node("Main/HUD").get("status")
if (change == false):
if (change == true):
And the bool script is this
var status = false
var status = true
The buttons hide but status value never changes to true in Delta, what is wrong with my approach?