# IsParameterControlledByCurve

> Returns true if the parameter is controlled by a curve, false otherwise.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.0/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

## IsParameterControlledByCurve(string)

Returns true if the parameter is controlled by a curve, false otherwise.

```csharp
public bool IsParameterControlledByCurve(string name)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The parameter name.

### Returns

| Type                                                          | Description                                                      |
| ------------------------------------------------------------- | ---------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the parameter is controlled by a curve, false otherwise. |

## IsParameterControlledByCurve(int)

Returns true if the parameter is controlled by a curve, false otherwise.

```csharp
public bool IsParameterControlledByCurve(int id)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The parameter ID.

### Returns

| Type                                                          | Description                                                      |
| ------------------------------------------------------------- | ---------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the parameter is controlled by a curve, false otherwise. |
