Lua:getWorkAreaHeight

From Cheat Engine
Revision as of 03:47, 21 June 2026 by Leunsel (talk | contribs) (Created page with "Category:Lua {{CodeBox|'''function''' getWorkAreaHeight() ''':''' integer}} Returns the work area height. (Excludes taskbars) ===Function Parameters=== This function has...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<> Function

function getWorkAreaHeight() : integer

Returns the work area height. (Excludes taskbars)

Function Parameters[edit]

This function has no parameters.

Returns[edit]

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

Examples[edit]

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

See also[edit]

Lua
Script Engine