# MarkAllScenesDirty()

> Mark all the loaded Scenes as modified.

## Definition

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

```csharp
public static void MarkAllScenesDirty()
```

### Remarks

This function marks all the currently loaded Scenes in the Editor as modified (having unsaved changes).
