- Documentation
- Client functions
- getScreenSize
Function
getScreenSize
Returns the game screen size in pixels. The same as guiGetScreenSize.
Syntax
int, int getScreenSize()Returns
Width and height.
Example
local sw, sh = getScreenSize()
outputChatBox(sw .. "x" .. sh)