Lua:getScreenHeight

From Cheat Engine
Jump to navigation Jump to search

<> Lua API Reference

function getScreenHeight() : integer

Returns the screen height.

Function Parameters[edit]

This function has no parameters.

Returns[edit]

integer — The height of the screen in pixels.

Examples[edit]

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

Main Pages

Core Lua documentation entry points

Lua
Script Engine