# TryGetAnimationCurve(string, string, out AnimationCurve)

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

## Definition

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

## 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 camera property.**** (\[AnimationCurve]\(/engine/6000.7/script-reference/unityengine/animationcurve)): The retrieved AnimationCurve, if one exists for the specified camera property.

### Returns

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