width

v0.0.6
widthGlobal

The window's width in pixels. If no window was created, this value is nil

createWindow(800, 600);

print(width);
-- 800
See width in window.h