Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Tort | |
Old Version | Published before Godot 3 was released. |
How to get the status of the checkbox? (on or off)
Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Tort | |
Old Version | Published before Godot 3 was released. |
How to get the status of the checkbox? (on or off)
Reply From: | Akien |
I think you need to check the is_pressed()
method that CheckBox
inherits from BaseButton
(see docs).
I agree that it’s not the most intuitive method name for a checkbox
Exactly what is needed. Thank you!
Tort | 2016-06-06 10:48
If this is the correct answer, it would be nice if you tick it as accepted.
Bojidar Marinov | 2016-06-06 11:08