# Sandbox.SceneTrace.WithTag

```csharp
SceneTrace WithTag(string tag)
```

Only return entities with this tag. Subsequent calls to this will add multiple requirements
and they'll all have to be met (ie, the entity will need all tags).

### Parameters

- `tag` (`string`)

### Returns

`SceneTrace`

Declared in [Sandbox.SceneTrace](/api/Sandbox.SceneTrace).
Assembly: `Sandbox.Engine`.
