Lua:getScreenHeight

From Cheat Engine
Revision as of 03:44, 21 June 2026 by Leunsel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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