Really, i don't know any Construct 2 default/custom plugin that have a expression that gets the device's DPI. You can get it with thiese "Browser" expressions, ScreenWidth and ScreenHeight
See more in: antiblocklinks|https://www.scirra.com/manual/110/browser