ReferenceSystemSystem:getDpi()✦Use with AI▾On this pageSystem:getDpi() Get the screen density of the device in dots per inch (dpi). Signature System:getDpi(): number Returns number - The display density, for example 420. Example local dpi = System:getDpi()toast("Screen density: " .. dpi .. " dpi") Compatible Version: 1.0.0.37 and up