# Sandbox.PhysicsTraceResult.HasTag

```csharp
bool HasTag(StringToken tag)
```

Returns true if the hit shape has this tag.

### Parameters

- `tag` (`StringToken`)

### Returns

`bool`

Declared in [Sandbox.PhysicsTraceResult](/api/Sandbox.PhysicsTraceResult).
Assembly: `Sandbox.Engine`.
