---
name: "ctrlAnimationPhaseModel"
type: command
status: ok
groups: ["GUI Control - Object"]
arma3_since: "1.84"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ctrlAnimationPhaseModel
revid: 309213
updated: 2022-05-03T22:27:25Z
---

# ctrlAnimationPhaseModel

*Command · GUI Control - Object · Arma 3 v1.84*

## Description

Returns current animation phase of given source. Similar to [animationSourcePhase](../commands/animationSourcePhase.md).

## Syntax

```sqf
control ctrlAnimationPhaseModel source
```

**Parameters:**

- `control` : [Control](../topics/Control.md) - 3D control
- `source`: [String](../topics/String.md)

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

## Examples

### Example 1

```sqf
private _phase = _control3D ctrlAnimationPhaseModel "Close";
```

## See also

[ctrlAnimateModel](../commands/ctrlAnimateModel.md) · [ctrlCreate](../commands/ctrlCreate.md) · [ctrlDelete](../commands/ctrlDelete.md) · [ctrlModel](../commands/ctrlModel.md) · [ctrlPosition](../commands/ctrlPosition.md) · [ctrlSetPosition](../commands/ctrlSetPosition.md) · [ctrlClassName](../commands/ctrlClassName.md) · [displayCtrl](../commands/displayCtrl.md) · [ctrlModelScale](../commands/ctrlModelScale.md) · [ctrlSetModelScale](../commands/ctrlSetModelScale.md) · [ctrlModelDirAndUp](../commands/ctrlModelDirAndUp.md) · [ctrlSetModelDirAndUp](../commands/ctrlSetModelDirAndUp.md)

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