# GetSceneCullingMask(Scene)

> Return the culling mask set on the given Scene.

## Definition

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

```csharp
public static ulong GetSceneCullingMask(Scene scene)
```

### Parameters

**** (\[Scene]\(/engine/6000.6/script-reference/unityengine/scenemanagement/scene)): The scene to get the culling mask from.

### Returns

| Type                                                          | Description                                     |
| ------------------------------------------------------------- | ----------------------------------------------- |
| [ulong](https://learn.microsoft.com/dotnet/api/system.uint64) | The scene's current culling mask as a bitfield. |

### Remarks

The culling mask for a Scene is used by Cameras to determine which Scenes should appear in the Cameras final render target. Culling masks are stored as a bitfield.
