# GetGenerateMotionCurves(AnimationClip)

> Retrives whether the animation clip is set to generate root motion curves.

## Definition

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

> **Warning:**
>
> **Deprecated.** This is not used anymore.  Root motion curves are automatically generated if applyRootMotion is enabled on Animator component.

```csharp
public static bool GetGenerateMotionCurves(AnimationClip clip)
```

### Parameters

**** (\[AnimationClip]\(/engine/6000.3/script-reference/unityengine/animationclip)): AnimationClip to query.

### Returns

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