# If

> The condition is true when the parameter value is true.

## Definition

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

```csharp
If = 1
```
