Yue Posted October 28, 2025 Posted October 28, 2025 local displays = GetDisplays() for k = 1, #displays do Print("Display " .. tostring(k) .. ":") Print(" Position: " .. tostring(displays[k]:GetPosition().x) .. " x " .. tostring(displays[k]:GetSize().y)) Print(" Size: " .. tostring(displays[k]:GetSize().x) .. " x " .. tostring(displays[k]:GetSize().y)) Print(" Scale: " .. tostring(displays[k]:GetScale())) Print(" Graphics Modes:") local gfxmodes = displays[k].graphicsmodes for n = 1, #gfxmodes do Print(" " .. tostring(n) .. ": " .. tostring(gfxmodes[n].x) .. ", " .. tostring(gfxmodes[n].y .. ", " .. tostring(gfxmodes[n].z))) end end Quote Murphy's Law: We don't fix bugs, we document them as features. – Murphy Games
Yue Posted October 28, 2025 Author Posted October 28, 2025 Error sammple documentation. https://www.leadwerks.com/learn/Display_GetSize?lang=lua Quote Murphy's Law: We don't fix bugs, we document them as features. – Murphy Games
Solution Josh Posted October 28, 2025 Solution Posted October 28, 2025 fixed 2 Quote Let's build cool stuff and have fun.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.