# containingInstanceGameObject

> The GameObject on the Prefab instance that the component has been removed from.

## Definition

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

```csharp
public GameObject containingInstanceGameObject { get; set; }
```
