Lua:getWorkAreaWidth

From Cheat Engine
Revision as of 03:47, 21 June 2026 by Leunsel (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<> Function

function getWorkAreaWidth() : integer

Returns the work area width. (Excludes taskbars)

Function Parameters[edit]

This function has no parameters.

Returns[edit]

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

Examples[edit]

local width = getWorkAreaWidth()
print("Work area width: " .. width)

See also[edit]

Lua
Script Engine