Skip to main content

GetInternalResolution

Description

Get the game's current internal resolution.

You may be looking for GetDisplayResolution instead.

function GetInternalResolution() --[[ ... ]] end

Parameters

None.

Return Values

  • width: number - The width of the internal resolution.
  • height: number - The height of the internal resolution.

Example

local width, height = GetInternalResolution()
print("Internal Resolution: " .. width .. "x" .. height)

See Also