# RemoveParameter

> Utility function to remove a parameter from the controller.

## Definition

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

## RemoveParameter(int)

Utility function to remove a parameter from the controller.

```csharp
public void RemoveParameter(int index)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The index of the AnimatorParameter.

### Remarks

This function pushes an Undo operation.

## RemoveParameter(AnimatorControllerParameter)

Utility function to remove a parameter from the controller.

```csharp
public void RemoveParameter(AnimatorControllerParameter parameter)
```

### Parameters

**** (\[AnimatorControllerParameter]\(/engine/6000.7/script-reference/unityengine/animatorcontrollerparameter)):&#x20;

### Remarks

This function pushes an Undo operation.
