# Editor.EditorPreferences.GizmoDepthTest

```csharp
static bool GizmoDepthTest { get; set; }
```

When enabled, component gizmo handles are depth tested against scene geometry.

Declared in [Editor.EditorPreferences](/api/Editor.EditorPreferences).
Assembly: `Sandbox.Tools`.
