# AnimatorTransitionInfo

> Information about the current transition.

## Definition

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

```csharp
public struct AnimatorTransitionInfo
```

## Properties

| Property                                                                                               | Description                                                                                                                                               |
| ------------------------------------------------------------------------------------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [anyState](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/anystate.md)             | Returns true if the transition is from an AnyState node, or from [Animator.CrossFade](/engine/6000.0/script-reference/unityengine/animator/crossfade.md). |
| [duration](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/duration.md)             | Duration of the transition.                                                                                                                               |
| [durationUnit](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/durationunit.md)     | The unit of the transition duration.                                                                                                                      |
| [fullPathHash](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/fullpathhash.md)     | The hash name of the Transition.                                                                                                                          |
| [nameHash](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/namehash.md)             | The simplified name of the Transition.                                                                                                                    |
| [normalizedTime](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/normalizedtime.md) | Normalized time of the Transition.                                                                                                                        |
| [userNameHash](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/usernamehash.md)     | The user-specified name of the Transition.                                                                                                                |

## Methods

| Method                                                                                         | Description                                            |
| ---------------------------------------------------------------------------------------------- | ------------------------------------------------------ |
| [IsName](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/isname.md)         | Does name match the name of the active Transition.     |
| [IsUserName](/engine/6000.0/script-reference/unityengine/animatortransitioninfo/isusername.md) | Does userName match the name of the active Transition. |
