Lua:getScreenHeight

From Cheat Engine
Jump to navigation Jump to search

<> Lua API Reference

function getScreenHeight() : integer

Returns the screen height.

Function Parameters

This function has no parameters.

Returns

integer — The height of the screen in pixels.

Examples

local height = getScreenHeight()
print("Screen height: " .. height)

Main Pages

Core Lua documentation entry points

Lua
Script Engine