{"name":"groupSelectedUnits","title":"groupSelectedUnits","type":"command","url":"https://community.bistudio.com/wiki/groupSelectedUnits","revid":377896,"updated":"2026-01-05T17:44:14Z","groups":["Interaction"],"status":"ok","games":{"arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"arma2 1.00","arma3_since":"0.50","description":"Returns selected units in source group for normal commanding mode (individual units). For the High Command equivalent, see hcSelected.","syntaxes":[{"syntax":"groupSelectedUnits unit","params":[{"name":"unit","type":"Object","type_expr":"Object"}],"returns":{"type":"Array of Objects","type_expr":"Array<Object>"},"form":"unary","right":{"text":"unit"}}],"examples":[{"code":["_selectedUnits = groupSelectedUnits player;"]}],"see_also":["groupSelectUnit"]}