---
name: "animationNames"
type: command
status: ok
groups: ["Animations"]
arma3_since: "1.58"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/animationNames
revid: 352617
updated: 2024-02-16T20:51:49Z
---

# animationNames

*Command · Animations · Arma 3 v1.58*

## Description

Returns [Array](../topics/Array.md) of [String](../topics/String.md)s where elements are the names of model animations, which should theoretically be available for use with [animate](../commands/animate.md) command. However in practice this depends on whether animation is also made available for use in scripts via config.

## Syntax

```sqf
animationNames object
```

**Parameters:**

- `object`: [Object](../topics/Object.md)

**Returns:** [Array](../topics/Array.md) of [String](../topics/String.md)s

## Examples

### Example 1

```sqf
_names = animationNames static_AT;
```

 Returns: ["MainTurret", "MainGun", "MainTurret_destructX", "MainTurret_destructY", "MainTurret_destructZ", "MainGun_destructX", "MainGun_destructY", "MainGun_destructZ", "magazine_destruct", "ammo_belt_destruct", "bolt_destruct", "charging_handle_destruct", "damagehideVez_destruct", "damagehideHlaven_destruct", "damagehideRecoil_destruct", "Turret_shake", "Turret_shake_aside", "Magazine_hide", "Ammo_belt_hide", "muzzleFlash", "AddAutonomous_unhide", "bullet001_reload_hide", "bullet002_reload_hide", "bullet003_reload_hide", "bullet004_reload_hide", "bullet005_reload_hide", "bullet006_reload_hide", "bullet007_reload_hide", "bullet008_reload_hide"]

## See also

[animate](../commands/animate.md) · [animationPhase](../commands/animationPhase.md) · [animateDoor](../commands/animateDoor.md) · [doorPhase](../commands/doorPhase.md) · [animateSource](../commands/animateSource.md) · [animationSourcePhase](../commands/animationSourcePhase.md) · [namedProperties](../commands/namedProperties.md) · [allLODs](../commands/allLODs.md)

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