# GetScene(int)

> Retrieves the Scene which contains the GameObject with the specified instance ID.

## Definition

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

```csharp
public static Scene GetScene(int instanceID)
```

### Parameters

**** (\[int]\(https\://learn.microsoft.com/dotnet/api/system.int32)): The instance ID of the GameObject.

### Returns

| Type                                                                          | Description                                                         |
| ----------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| [Scene](/engine/6000.0/script-reference/unityengine/scenemanagement/scene.md) | The Scene the GameObject with the specified instance ID is part of. |
