# Sandbox.Component.IDamageable.OnTraceAttack

```csharp
bool OnTraceAttack(in DamageInfo& modreq(System.Runtime.InteropServices.InAttribute) hit)
```

### Parameters

- `in hit` (`DamageInfo& modreq(System.Runtime.InteropServices.InAttribute)`)

### Returns

`bool`

Declared in [Sandbox.Component.IDamageable](/api/Sandbox.Component.IDamageable).
Assembly: `Sandbox.Engine`.
