---
name: "glanceAt"
type: command
status: ok
groups: ["Unit Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/glanceAt
revid: 377158
updated: 2026-01-01T10:39:40Z
---

# glanceAt

*Command · Unit Control · Arma 3 v0.50 · introduced in Operation Flashpoint: Elite v1.00*

## Description

Control what the unit(s) is/are glancing at (target or [Position](../topics/Position.md)). If target is used, it will get revealed fully.

How frequently the unit(s) is/are glancing there depends on behaviour.

## Syntax

```sqf
unit(s) glanceAt position
```

**Parameters:**

- `unit(s)`: [Object](../topics/Object.md) or [Array](../topics/Array.md) of [Object](../topics/Object.md)s
- `position`: [Object](../topics/Object.md) or [Position](../topics/Position.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
_someSoldier glanceAt _otherSoldier;
```

### Example 2

```sqf
[_someSoldier, _otherSoldier] glanceAt markerPos "markerOne";
```

## See also

[lookAt](../commands/lookAt.md) · [commandWatch](../commands/commandWatch.md) · [doWatch](../commands/doWatch.md)

<sub>Source: [BI Community Wiki — glanceAt](https://community.bistudio.com/wiki/glanceAt) (revision 377158).</sub>
