# Sandbox.BaseCombatWeapon.ImpactPrefab

```csharp
static void ImpactPrefab(GameObject hitObject, Surface surface, Vector3 position, Vector3 normal)
```

Spawn just the surface impact prefabs (decal/particles) at a hit, stuck to what was hit - no sound.
For attacks that want the visual but their own impact audio (a melee thunk instead of a ricochet).

### Parameters

- `hitObject` (`GameObject`)
- `surface` (`Surface`)
- `position` (`Vector3`)
- `normal` (`Vector3`)

Declared in [Sandbox.BaseCombatWeapon](/api/Sandbox.BaseCombatWeapon).
Assembly: `Sandbox.Engine`.
