@7892 said:
@newguy said:
Yes I can and it works. I just need to re-arrange my code because originally the values were assigned at top of the script where the variables are declared.
That won't work because get_node can't be called at variable declaration it needs to be called inside onready.
Dont know if you mean the _ready function or if you know about onready so just in case you dont know:
onready var myVar = get_node(node) works outside _ready()
Yes but there is a problem,
onready var myvars = get_node("/root/myvars")
var box_height = myvars.min_height
myvars.min_height value is null