# TryGetAnimationCurve(string, string, out AnimationCurve)

> Retrieves the AnimationCurve for an animated material property in a specific AnimationClip.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.AssetImporters](/engine/6000.3/script-reference/unityeditor/assetimporters.md)
* **Assembly:** UnityEditor

## TryGetAnimationCurve(string, string, AnimationCurve)

```csharp
public bool TryGetAnimationCurve(string clipName, string propertyName, out AnimationCurve value)
```

### Parameters

**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the AnimationClip.**** (\[string]\(https\://learn.microsoft.com/dotnet/api/system.string)): The name of the material property.**** (\[AnimationCurve]\(/engine/6000.3/script-reference/unityengine/animationcurve)): The retrieved AnimationCurve, if one exists for the specified material property.

### Returns

| Type                                                          | Description                                                                 |
| ------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Returns true if the material property is animated. Returns false otherwise. |
