---
name: "flagAnimationPhase"
type: command
status: ok
groups: ["Flags"]
arma3_since: "1.68"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/flagAnimationPhase
revid: 376970
updated: 2026-01-01T06:01:24Z
---

# flagAnimationPhase

*Command · Flags · Arma 3 v1.68*

Locality: arguments **global**

## Description

Returns flag position on the flag pole.

## Syntax

```sqf
flagAnimationPhase flag
```

**Parameters:**

- `flag`: [Object](../topics/Object.md) - flag pole of the type `"FlagCarrier"`

**Returns:** [Number](../topics/Number.md) in range 0..1 - flag position, where 0 is bottom of the flag pole, 1 is the top of the flag pole

## Examples

### Example 1

```sqf
flagAnimationPhase _flag1;
```

## Multiplayer

The result is local to the PC on which command is executed.

## See also

[setFlagAnimationPhase](../commands/setFlagAnimationPhase.md) · Arma 3: Flag Textures

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