# ClosePreviewScene(Scene)

> Closes a preview Scene created by EditorSceneManager.NewPreviewScene or EditorSceneManager.OpenPreviewScene.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor.SceneManagement](/engine/6000.5/script-reference/unityeditor/scenemanagement.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public static bool ClosePreviewScene(Scene scene)
```

### Parameters

**** (\[Scene]\(/engine/6000.5/script-reference/unityengine/scenemanagement/scene)): The preview Scene to close.

### Returns

| Type                                                          | Description                                |
| ------------------------------------------------------------- | ------------------------------------------ |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the Scene was successfully closed. |
