Syntax
Lua |
---|
function Display.GetSize(); |
Returns
Type: number, numberThe horizontal and vertical resolution as two values.
Remarks
This method gets the resolution the game is being displayed in as a pair of numbers that correspond to the horizontal and vertical resolution.