# StopPreview()

> Notification callback when the Animation window stops previewing an AnimationClip.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine.Animations](/engine/6000.5/script-reference/unityengine/animations.md)
* **Assembly:** UnityEngine.AnimationModule

```csharp
void StopPreview()
```

### Remarks

The Animation window calls this function when it stops previewing an [AnimationClip](/engine/6000.5/script-reference/unityengine/animationclip.md). Additional Resources: [AnimationMode.StopAnimationMode](/engine/6000.5/script-reference/unityeditor/animationmode/stopanimationmode.md)
