# resetFogDistance (Client)

> Undoes `setFogDistance`: the fog follows the time cycle again.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: World and weather
- **URL**: https://wiki.mymp.gg/en/resetFogDistance

## Syntax

```lua
bool resetFogDistance()
```

## Returns

Always `true`.

## Example

```lua
resetFogDistance()
```

## See also

- [setFogDistance (Client)](https://wiki.mymp.gg/en/setFogDistance.md): Changes how far from the camera the fog starts, over the time cycle, until resetFogDistance restores it.
- [getFogDistance (Client)](https://wiki.mymp.gg/en/getFogDistance.md): Returns how far the fog starts: the value setFogDistance set or, without it, the time cycle's.
