# useDepth

> Sets the contact filter to filter the results by depth using _minDepth and _maxDepth.

## Definition

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

```csharp
public bool useDepth
```
