# Sandbox.Model.GetAnimationName

```csharp
string GetAnimationName(int animationIndex)
```

Returns name of an animation at given animation index.

### Parameters

- `animationIndex` (`int`): Animation index to get name of, starting at 0.

### Returns

`string`: Name of the animation.

### Exceptions

- `System.ArgumentOutOfRangeException`: Thrown when given index exceeds range of [0,AnimationCount-1]

Declared in [Sandbox.Model](/api/Sandbox.Model).
Assembly: `Sandbox.Engine`.
