# Subgroup Index
Grammar — Index of highlighted subgroup in selection of units for player player
Flags —Native|Function
Returns the active subgroup index for the specified player’s unit selection.
# Arguments
int— Player
Returns — int
native int UnitSubgroupIndexSelected(int inPlayer);
# Related
Category: Selection / Unit Selection
- Subgroup Index —
int— UnitSubgroupIndexSelected - Selected Subgroup Units —
unitgroup— UnitSubgroupSelected - Select/Deselect Unit —
void— UnitSelect - Select Next Subgroup —
void— UnitSubgroupIndexNext - Select Previous Subgroup —
void— UnitSubgroupIndexPrevious - Select/Deselect Unit Group —
void— UnitGroupSelect - Clear Unit Selection —
void— UnitClearSelection - Unit Is Selected —
bool— UnitIsSelected - Unit Type Is Selected —
bool— libNtve_gf_UnitTypeIsSelected - Selected Units —
unitgroup— UnitGroupSelected - Unit Is Selected —
void— TriggerAddEventUnitSelected - Store Unit Selection —
void— libNtve_gf_StoreUnitSelection - Restore Unit Selection —
void— libNtve_gf_RestoreUnitSelection - Flash Unit Selection —
void— UnitFlashSelection
# Examples
— None found —