# MarkSceneDirty(Scene)

> Mark the specified Scene as modified.

## Definition

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

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

### Parameters

**** (\[Scene]\(/engine/6000.7/script-reference/unityengine/scenemanagement/scene)): The Scene to be marked as modified.

### Returns

| Type                                                          | Description                                         |
| ------------------------------------------------------------- | --------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | Whether the Scene was successfully marked as dirty. |

### Remarks

This function marks the specified Scene in the Editor as modified (having unsaved changes).
