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 SetSelectionRequired
&40;
bool bRequireSelection
&41;
Remarks
Sets whether the group should always have a button selected.
Parameters
| Name | Description |
|---|---|
| bRequireSelection | True to force the group to always have a button selected. If true and nothing is selected, will select the first entry. If empty, will select the first button added. |