# scenes

> The Scenes to be included in the build.

## Definition

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

```csharp
public string[] scenes { readonly get; set; }
```

### Remarks

If empty, the currently open Scene will be built. Paths are relative to the project folder, for example "Assets/MyLevels/MyScene.unity". If any scene is currently open and has unsaved changes, the editor will ask the user to save these changes before building - or save changes automatically, if [\_isBatchMode](/engine/6000.7/script-reference/unityengine/application/isbatchmode.md) is true.

Additional Resources: [\_scenes](/engine/6000.7/script-reference/unityeditor/editorbuildsettings/scenes.md)
