# getSunSize (Client)

> Returns the size of the sun's disc: the one `setSunSize` set or, without it, the time cycle's.

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

## Syntax

```lua
float getSunSize()
```

## Returns

The apparent diameter in degrees.

## Example

```lua
outputDebugString("Sun: " .. getSunSize() .. "°")
```

## See also

- [setSunSize (Client)](https://wiki.mymp.gg/en/setSunSize.md): Changes the size of the sun's disc in the sky, over the time cycle, until resetSunSize restores it.
