# cullingMask

> This is used to render parts of the Scene selectively.

## Definition

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

```csharp
public int cullingMask { get; set; }
```

### Remarks

For example if a [GameObject](/engine/6000.7/script-reference/unityengine/gameobject.md)'s `layer` is set to 2, and the second bit of the camera's `cullingMask` is set to zero, the GameObject will be invisible to the camera. See [Layers](/engine/6000.7/manual/working-with-gameobjects/layers.md) for more information.

Additional Resources: [camera component](/engine/6000.7/manual/cameras/birp/class-camera.md).
