# animationState

> The animation state that fired this event (Read Only).

## Definition

* **Type:** Property
* **Namespace:** [UnityEngine](/engine/6000.5/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
public AnimationState animationState { get; }
```

### Remarks

Returns null when the method is called outside of an animation event callback. Note: This member is only set when the event is fired from an Animation component (legacy). Additional Resources: [AnimationState](/engine/6000.5/script-reference/unityengine/animationstate.md), [AnimationEventInfo.isFiredByLegacy](/engine/6000.5/script-reference/unityengine/animationeventinfo/isfiredbylegacy.md).
