I have created spatial node and add checkbox node to it. i have attached following script to the spacial
func _process(delta):
if $CheckBox.pressed==false:
print("True")
else:
print("false")
output result when box is checked
true
true
true
output result when box is unchecked
true
false
true
false
output of unchecked box must be false right?
why i am getting both, i am using godot v3.4