Group of Buttons.
    public class ButtonGroup : Resource

Group of Button. All direct and indirect children buttons become radios. Only one allows being pressed.

BaseButton.ToggleMode should be true.

Inheritance Chain

Constructors

    public ButtonGroup()

Methods

    public Godot.Collections.Array GetButtons()

Returns an Array of Buttons who have this as their ButtonGroup (see BaseButton.Group).

    public BaseButton GetPressedButton()

Returns the current pressed button.

Tags: