# RemoveEntryTransition(AnimatorTransition)

> Utility function to remove an entry transition from the state machine.

## Definition

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

```csharp
public bool RemoveEntryTransition(AnimatorTransition transition)
```

### Parameters

**** (\[AnimatorTransition]\(/engine/6000.7/script-reference/unityeditor/animations/animatortransition)): The transition to remove.

### Returns

| Type                                                          | Description |
| ------------------------------------------------------------- | ----------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) |             |

### Remarks

If the transition is a sub asset of the state machine, it will be deleted. This function pushes an Undo operation.
