# IsPreviewSceneObject(Object)

> Is this object part of a preview Scene?

## Definition

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

```csharp
public static bool IsPreviewSceneObject(Object obj)
```

### Parameters

**** (\[Object]\(/engine/6000.0/script-reference/unityengine/object)): The object to check.

### Returns

| Type                                                          | Description                                     |
| ------------------------------------------------------------- | ----------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if this object is part of a preview Scene. |
