# ClearKeys()

> Erases all KeyFrame from this instance of the AnimationCurve.

## Definition

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

```csharp
public void ClearKeys()
```
