# useContactFiltering

> Whether PhysicsDebugWindow takes the PhysicsVisualizationSettings filtering settings into account when visualizing contacts.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public static bool useContactFiltering { get; set; }
```

### Remarks

If you set this property to true, the [PhysicsDebugWindow](/engine/6000.7/script-reference/unityeditor/physicsdebugwindow.md) takes [PhysicsVisualizationSettings](/engine/6000.7/script-reference/unityeditor/physicsvisualizationsettings.md) filtering settings into account when collecting contacts for visualization.

If you set this property to false, the [PhysicsDebugWindow](/engine/6000.7/script-reference/unityeditor/physicsdebugwindow.md) visualizes all contacts.
