GetCurrentScreenResolution
Docslocal width, height = GetCurrentScreenResolution()Description
Gets the current screen resolution.
local width, height = GetCurrentScreenResolution()
print(string.format("Current screen resolution: %dx%d", width, height))Parameters
| Name | Type | Description |
|---|---|---|
width | int* | — |
height | int* | — |
Returns
voidThis native does not return a value.