# ClearDepth()

> Turns off depth filtering by setting _useDepth to false. The associated values of _minDepth and _maxDepth are not changed.

## Definition

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

```csharp
public void ClearDepth()
```
