# colliderMask

> The mask used to select specific layers allowed to interact with the effector.

## Definition

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

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

### Remarks

Any [Collider2D](/engine/6000.3/script-reference/unityengine/collider2d.md) used by the effector will only interact with colliders on the specified layers.  The layer of this GameObject will not be used by these colliders.
