# RemoveCondition(AnimatorCondition)

> Utility function to remove a condition from the transition.

## Definition

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

```csharp
public void RemoveCondition(AnimatorCondition condition)
```

### Parameters

**** (\[AnimatorCondition]\(/engine/6000.6/script-reference/unityeditor/animations/animatorcondition)): The condition to remove.

### Remarks

This functions pushes an Undo operation.
