# Optimal

> Perform keyframe reduction and choose the best animation curve representation at runtime to reduce memory footprint (default).

## Definition

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

```csharp
Optimal = 3
```

### Remarks

Optimal is only available for generic and humanoid rig type.

Additional Resources: [ModelImporter.animationCompression](/engine/6000.6/script-reference/unityeditor/modelimporter/animationcompression.md).
