# animationPositionError

> Allowed error of animation position compression.

## Definition

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

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

### Remarks

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

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