# includeLayers

> The additional layers that all Collider s attached to this Rigidbody should include when deciding if the Collider can come into contact with another Collider.

## Definition

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

```csharp
public LayerMask includeLayers { get; set; }
```

### Remarks

The Layer Collision Matrix defines which layers can contact other layers. Use this property to specify additional layers that all [Collider](/engine/6000.3/script-reference/unityengine/collider.md)s attached to this [Rigidbody](/engine/6000.3/script-reference/unityengine/rigidbody.md) instance can contact.

**NOTE**: Layers can be included or excluded differently depending on the settings of each [Collider](/engine/6000.3/script-reference/unityengine/collider.md) instance. As such, there could be a conflicting decision for whether two [Collider](/engine/6000.3/script-reference/unityengine/collider.md) instances can come into contact with each other. To learn how Unity decides this, see [Collider.layerOverridePriority](/engine/6000.3/script-reference/unityengine/collider/layeroverridepriority.md).

Additional Resources: [Collider.excludeLayers](/engine/6000.3/script-reference/unityengine/collider/excludelayers.md), [Rigidbody.excludeLayers](/engine/6000.3/script-reference/unityengine/rigidbody/excludelayers.md), [ArticulationBody.includeLayers](/engine/6000.3/script-reference/unityengine/articulationbody/includelayers.md), [ArticulationBody.excludeLayers](/engine/6000.3/script-reference/unityengine/articulationbody/excludelayers.md).
