Godot Version
4.3
Question
I want to change a variable from a different script in the same scene.
First I write the class name of the script and the variable I want to change
classname.new().variablename = true
Here I want to change the variable to true. In the other script I want it to print smt hen the variable is true.
if variablename == true:
print("true")
But its not printing that mean the variable dont change to true. How to fix it? Pls help