# AnimatorCondition

> Condition that is used to determine if a transition must be taken.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.Animations](/engine/6000.0/script-reference/unityeditor/animations.md)
* **Assembly:** UnityEditor

```csharp
public struct AnimatorCondition
```

## Properties

| Property                                                                                           | Description                                                           |
| -------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [mode](/engine/6000.0/script-reference/unityeditor/animations/animatorcondition/mode.md)           | The mode of the condition.                                            |
| [parameter](/engine/6000.0/script-reference/unityeditor/animations/animatorcondition/parameter.md) | The name of the parameter used in the condition.                      |
| [threshold](/engine/6000.0/script-reference/unityeditor/animations/animatorcondition/threshold.md) | The AnimatorParameter's threshold value for the condition to be true. |
