# StopPreview()

> Stops preview playback.

## Definition

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

```csharp
public void StopPreview()
```
