# AnimatorStateInfo

> Information about the current or next state.

## Definition

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

```csharp
public struct AnimatorStateInfo
```

## Properties

| Property                                                                                            | Description                                                                                                                                                                        |
| --------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [fullPathHash](/engine/6000.0/script-reference/unityengine/animatorstateinfo/fullpathhash.md)       | The full path hash for this state.                                                                                                                                                 |
| [length](/engine/6000.0/script-reference/unityengine/animatorstateinfo/length.md)                   | Current duration of the state.                                                                                                                                                     |
| [loop](/engine/6000.0/script-reference/unityengine/animatorstateinfo/loop.md)                       | Is the state looping.                                                                                                                                                              |
| [normalizedTime](/engine/6000.0/script-reference/unityengine/animatorstateinfo/normalizedtime.md)   | Normalized time of the State.                                                                                                                                                      |
| [shortNameHash](/engine/6000.0/script-reference/unityengine/animatorstateinfo/shortnamehash.md)     | The hash is generated using [Animator.StringToHash](/engine/6000.0/script-reference/unityengine/animator/stringtohash.md). The hash does not include the name of the parent layer. |
| [speed](/engine/6000.0/script-reference/unityengine/animatorstateinfo/speed.md)                     | The playback speed of the animation. 1 is the normal playback speed.                                                                                                               |
| [speedMultiplier](/engine/6000.0/script-reference/unityengine/animatorstateinfo/speedmultiplier.md) | The speed multiplier for this state.                                                                                                                                               |
| [tagHash](/engine/6000.0/script-reference/unityengine/animatorstateinfo/taghash.md)                 | The Tag of the State.                                                                                                                                                              |

## Methods

| Method                                                                            | Description                                                       |
| --------------------------------------------------------------------------------- | ----------------------------------------------------------------- |
| [IsName](/engine/6000.0/script-reference/unityengine/animatorstateinfo/isname.md) | Does name match the name of the active state in the statemachine? |
| [IsTag](/engine/6000.0/script-reference/unityengine/animatorstateinfo/istag.md)   | Does tag match the tag of the active state in the statemachine.   |
