Lua:getWorkAreaWidth
Revision as of 03:47, 21 June 2026 by Leunsel (talk | contribs) (Created page with "Category:Lua {{CodeBox|'''function''' getWorkAreaWidth() ''':''' integer}} Returns the work area width. ===Function Parameters=== This function has no parameters. ===Re...")
| <> Function function getWorkAreaWidth() : integer |
Returns the work area width.
Function Parameters
This function has no parameters.
Returns
integer — The width of the screen work area in pixels.
Examples
local width = getWorkAreaWidth()
print("Work area width: " .. width)
See also
| Lua |
| Script Engine |