# setFarClipDistance (Client)

> Changes how far from the camera the world is drawn, over the time cycle, until `resetFarClipDistance` restores it.

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

## Syntax

```lua
bool setFarClipDistance(float distance)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `distance` | `float` | The distance in metres, from 10 to 20000. |

## Returns

`true` once the value is set.

## Example

```lua
setFarClipDistance(3000)
```

## See also

- [getFarClipDistance (Client)](https://wiki.mymp.gg/en/getFarClipDistance.md): Returns how far the world is being drawn right now.
- [resetFarClipDistance (Client)](https://wiki.mymp.gg/en/resetFarClipDistance.md): Undoes setFarClipDistance: the draw distance follows the time cycle again.
