# setSunSize (Client)

> Changes the size of the sun's disc in the sky, over the time cycle, until `resetSunSize` restores it.

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

## Syntax

```lua
bool setSunSize(float size)
```

## Parameters

| Name | Type | Description |
| --- | --- | --- |
| `size` | `float` | The disc's apparent diameter, in degrees, from 0 to 60. |

## Returns

`true` once the value is set.

## Example

```lua
setSunSize(8)
```

## See also

- [getSunSize (Client)](https://wiki.mymp.gg/en/getSunSize.md): Returns the size of the sun's disc: the one setSunSize set or, without it, the time cycle's.
- [resetSunSize (Client)](https://wiki.mymp.gg/en/resetSunSize.md): Undoes setSunSize: the sun's size follows the time cycle again.
