# Editor.Trace

Trace for tools, not to be confused with [Sandbox.SceneTrace](/api/Sandbox.SceneTrace)

- Kind: struct
- Namespace: `Editor`
- Assembly: `Sandbox.Tools`
- Modifiers: sealed

## Methods

- [`HitBackfaces`](/api/Editor.Trace/HitBackfaces): Hit back facing geometry too - by default only faces pointing towards the ray are hit. A back face hit (normal pointing along the ray) means the ray started inside something.
- [`MeshesOnly`](/api/Editor.Trace/MeshesOnly): Only trace against hammer mesh geometry ( CMapMesh nodes )
- [`Ray`](/api/Editor.Trace/Ray): Create a trace ray.
- [`Run`](/api/Editor.Trace/Run): Runs a trace against given world.
- [`SkipToolsMaterials`](/api/Editor.Trace/SkipToolsMaterials): Don't hit tools materials (materials with the `tools.toolsmaterial` attribute)
