Godot Version
Godot_v4.3-stable_win64
Question
How can I change the value (state) of a CheckButton when I click on another CheckButton in the same scene. I want to select one song and deslect all the others.
Thank you
Godot_v4.3-stable_win64
How can I change the value (state) of a CheckButton when I click on another CheckButton in the same scene. I want to select one song and deslect all the others.
Thank you
Supplementing the comment:
> gertkeno
And if you want all the buttons (CheckButtons
) to send a signal, but only one can be pressed:
You need to create a button_group
in the BaseButton
parameters for each CheckButton
. As soon as all these CheckButtons
are in one button_group
, they will start working as a “radio button”, i.e. only one button can be pressed, the rest are released. Toggle_mode
must be turn ON.