You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-21 14:57:09 +00:00
Expose ButtonGroup's "get_buttons()" to GDScript
This commit is contained in:
@@ -12,11 +12,18 @@
|
||||
<demos>
|
||||
</demos>
|
||||
<methods>
|
||||
<method name="get_buttons">
|
||||
<return type="Array">
|
||||
</return>
|
||||
<description>
|
||||
Returns an [Array] of [Button]s who have this as their [code]ButtonGroup[/code] (see [member BaseButton.group]).
|
||||
</description>
|
||||
</method>
|
||||
<method name="get_pressed_button">
|
||||
<return type="BaseButton">
|
||||
</return>
|
||||
<description>
|
||||
Return the pressed button.
|
||||
Returns the current pressed button.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
|
||||
Reference in New Issue
Block a user