Navigation
API > API/Plugins > API/Plugins/CommonUI > API/Plugins/CommonUI/Groups > API/Plugins/CommonUI/Groups/UCommonButtonGroupBase
References
| Module | CommonUI |
| Header | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Public/Groups/CommonButtonGroupBase.h |
| Include | #include "Groups/CommonButtonGroupBase.h" |
| Source | /Engine/Plugins/Runtime/CommonUI/Source/CommonUI/Private/Groups/CommonButtonGroupBase.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;BaseButtonGroup&41;
void SelectButtonAtIndex
&40;
int32 ButtonIndex,
const bool bAllowSound
&41;
Remarks
Selects a button at a specific index in the group. Clears all selection if given an invalid index.
Parameters
| Name | Description |
|---|---|
| ButtonIndex | The index of the button in the group to select |
| bAllowSound | Whether the selected button should play its click sound |