# animationScaleError

> Allowed error of animation scale compression.

## Definition

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

```csharp
public float animationScaleError { get; set; }
```

### Remarks

Allowed error is defined in distance (in percents) between compressed and original scale on a curve. This settings used only when animation keyframe reduction is enabled.

Additional Resources: [ModelImporter.animationCompression](/engine/6000.7/script-reference/unityeditor/modelimporter/animationcompression.md), [ModelImporterAnimationCompression](/engine/6000.7/script-reference/unityeditor/modelimporteranimationcompression.md).
