# getMoonSize (Client)

> Returns the size of the moon's disc: the one `setMoonSize` 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/getMoonSize

## Syntax

```lua
float getMoonSize()
```

## Returns

The apparent diameter in degrees.

## Example

```lua
outputDebugString("Moon: " .. getMoonSize() .. "°")
```

## See also

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