# Picked Unit
Grammar — Picked unit
Flags —Operator
|Function
Returns the current unit picked in a “Pick Each Unit In Unit Group” loop.
Returns — unit
#AUTOVAR(var,ancestor:PickEachUnitInGroup)
# Related
Category: Unit Group / Loops
- Pick Each Unit In Unit Group — macro
- Pick Each Unit In Unit Group Deprecated — macro
- For Each Unit In Unit Group — macro
- For Each Unit In Unit Group Deprecated — macro
- Picked Unit
- Picked Unit Deprecated —
unit
— UnitGroupLoopCurrentDeprecated
# Examples
— None found —