Skip to content

GetMapSize

Read the current map size from lobby options.

options:GetMapSize()

Inputs: None beyond the GameOptions receiver.

Output: The integer public map size (such as 120 or 200) value, or nil when it cannot be read.

Errors and unavailable states: An unavailable lobby or unreadable native setting returns nil; no Lua argument is required.

Call on a fresh value from GetCurrentGameOptions(). See Lobby options overview.