Lua:getWorkAreaHeight

From Cheat Engine
Jump to navigation Jump to search
<> Function

function getWorkAreaHeight() : integer

Returns the work area height. (Excludes taskbars)

Function Parameters

This function has no parameters.

Returns

integer — The height of the screen work area in pixels.

Examples

local height = getWorkAreaHeight()
print("Work area height: " .. height)

See also

Lua
Script Engine