# engineSetClouds (Client)

> Chooses how clouds are drawn.

- **Platform**: MY Multiplayer (MYMP)
- **Kind**: Lua Function
- **Side**: Client
- **Category**: Graphics settings
- **URL**: https://wiki.mymp.gg/en/engineSetClouds

## Syntax

```lua
bool engineSetClouds(string style)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `style` | `string` | `off` (no clouds), `flat` or `volumetric` (the default on PC). Any other name raises an error. |

## Returns

`true` if the setting was applied, `false` if the renderer is not running.

The setting applies to the whole client and stays after the resource stops.

## Example

```lua
engineSetClouds("flat")
```

## See also

- [engineGetClouds (Client)](https://wiki.mymp.gg/en/engineGetClouds.md): Returns how clouds are drawn.
- [engineSetVolumetricFog (Client)](https://wiki.mymp.gg/en/engineSetVolumetricFog.md): Turns volumetric fog on or off. It starts off.
