Returns a list of available screen resolutions


See also Video functions.

Signature:

... = GetScreenResolutions()

Returns:

  • ... - A list of strings, each a description of the dimensions of an available screen resolution (e.g. "800x600", "1024x768") (string)

Examples:

-- Print all available screen resolutions:
print("Available resolutions:", string.join(", ", GetScreenResolutions()))