ButtonGroup
Inherits: Resource < Reference < Object
Group of Buttons.
Description
Group of Button. All direct and indirect children buttons become radios. Only one allows being pressed.
BaseButton.toggle_mode should be true
.
Properties
resource_local_to_scene |
|
Methods
get_buttons ( ) | |
Method Descriptions
Array get_buttons ( )
Returns an Array of Buttons who have this as their ButtonGroup
(see BaseButton.group).
BaseButton get_pressed_button ( )
Returns the current pressed button.
© 2014–2021 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
https://docs.godotengine.org/en/3.3/classes/class_buttongroup.html