For the complete documentation index, see llms.txt. This page is also available as Markdown.

getResolution

API -

return function()
    local app = getApp();
    local res = app.getResolution();
    
    log('current window resolution is ' .. res.x .. ', ' .. res.y);
end

Last updated