# Sandbox.Sound.SetEffect

```csharp
static void SetEffect(string name, float value, float velocity = 10, float fadeOut = -1)
```

> **Obsolete.**

### Parameters

- `name` (`string`)
- `value` (`float`)
- `velocity` (`float`), default `10`
- `fadeOut` (`float`), default `-1`

Declared in [Sandbox.Sound](/api/Sandbox.Sound).
Assembly: `Sandbox.Engine`.
