# MarkAllScenesDirty()

> Mark all the loaded Scenes as modified.

## Definition

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

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

### Remarks

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