# StageHandle

> Struct that represents a stage handle.

## Definition

* **Type:** Struct
* **Namespace:** [UnityEditor.SceneManagement](/engine/6000.7/script-reference/unityeditor/scenemanagement.md)
* **Assembly:** UnityEditor.CoreModule
* **Implements:** [IEquatable\<StageHandle>](https://learn.microsoft.com/dotnet/api/system.iequatable-1)

```csharp
public struct StageHandle : IEquatable<StageHandle>
```

## Remarks

A stage is an editing context which includes a collection of Scenes. The main stage contains all the currently open regular Scenes, while a Prefab stage contains a preview Scene used solely for editing the Prefab in.

The breadcrumbs which are shown in the Scene view when in Prefab Mode each represent a stage.

## Methods

| Method                                                                                                                  | Description                                                    |
| ----------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
| [Contains](/engine/6000.7/script-reference/unityeditor/scenemanagement/stagehandle/contains.md)                         | Does the stage contain the given GameObject?                   |
| [FindComponentOfType](/engine/6000.7/script-reference/unityeditor/scenemanagement/stagehandle/findcomponentoftype.md)   | Returns the first active loaded object of the given type.      |
| [FindComponentsOfType](/engine/6000.7/script-reference/unityeditor/scenemanagement/stagehandle/findcomponentsoftype.md) | Returns a list of all active loaded objects of the given type. |
| [IsValid](/engine/6000.7/script-reference/unityeditor/scenemanagement/stagehandle/isvalid.md)                           | Is this stage handle valid?                                    |
