Lua:getScreenHeight
Jump to navigation
Jump to search
<> Lua API Reference
function getScreenHeight() : integer
Returns the screen height.
This function has no parameters.
integer — The height of the screen in pixels.
local height = getScreenHeight()
print("Screen height: " .. height)
Main Pages
Core Lua documentation entry points
◆ Lua
◆ Script Engine