{"name":"glanceAt","title":"glanceAt","type":"command","url":"https://community.bistudio.com/wiki/glanceAt","revid":377158,"updated":"2026-01-01T10:39:40Z","groups":["Unit Control"],"status":"ok","games":{"ofpe":"1.00","arma1":"1.00","arma2":"1.00","arma2oa":"1.50","tkoh":"1.00","arma3":"0.50"},"since":"ofpe 1.00","arma3_since":"0.50","description":"Control what the unit(s) is/are glancing at (target or Position). If target is used, it will get revealed fully.\n\nHow frequently the unit(s) is/are glancing there depends on behaviour.","syntaxes":[{"syntax":"unit(s) glanceAt position","params":[{"name":"unit(s)","type":"Object or Array of Objects","type_expr":"Object | Array<Object>"},{"name":"position","type":"Object or Position","type_expr":"Object | Position"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"unit(s)"},"right":{"text":"position"}}],"examples":[{"code":["_someSoldier glanceAt _otherSoldier;"]},{"code":["[_someSoldier, _otherSoldier] glanceAt markerPos \"markerOne\";"]}],"see_also":["lookAt","commandWatch","doWatch"]}