Lua:getWorkAreaWidth

From Cheat Engine
Jump to navigation Jump to search

<> Lua API Reference

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]

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

Main Pages

Core Lua documentation entry points

Lua
Script Engine