# GetScenePathByBuildIndex(int)

> Get the Scene path from a build index.

## Definition

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

```csharp
public static string GetScenePathByBuildIndex(int buildIndex)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)):&#x20;

### Returns

| Type                                                           | Description                                    |
| -------------------------------------------------------------- | ---------------------------------------------- |
| [string](https://learn.microsoft.com/dotnet/api/system.string) | Scene path (e.g "Assets/Scenes/Scene1.unity"). |

### Remarks

The build index refers to the index into the list of Scenes as specified in the Build Settings window.
