# Sandbox.Fog.HeightGradientLength

```csharp
float HeightGradientLength { get; set; }
```

World distance from full fog to clear. Positive fades upward; negative fades downward.
Zero creates a hard boundary at HeightOffset.

Declared in [Sandbox.Fog](/api/Sandbox.Fog).
Assembly: `Sandbox.Engine`.
