# GetKeyLeftTangentMode(AnimationCurve, int)

> Retrieves the left tangent mode of the keyframe at a specific index.

## Definition

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

```csharp
public static AnimationUtility.TangentMode GetKeyLeftTangentMode(AnimationCurve curve, int index)
```

### Parameters

**** (\[AnimationCurve]\(/engine/6000.7/script-reference/unityengine/animationcurve)): Curve to query.**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): Keyframe index.

### Returns

| Type                                                                                       | Description               |
| ------------------------------------------------------------------------------------------ | ------------------------- |
| [TangentMode](/engine/6000.7/script-reference/unityeditor/animationutility/tangentmode.md) | Returns the tangent mode. |

### Remarks

The Curve Editor uses the keyframe tangent mode to automatically generate tangents.

Additional Resources: [AnimationUtility.GetKeyRightTangentMode](/engine/6000.7/script-reference/unityeditor/animationutility/getkeyrighttangentmode.md), [AnimationUtility.GetKeyBroken](/engine/6000.7/script-reference/unityeditor/animationutility/getkeybroken.md).
