How to get the width of a device

Hi guys.

Could you please tell me how I can know the width and height of a device?

like system.displayWidth –

or get systemHeight, –

or something like that.

Ijust want to write the line so the program “returns” to me the correct width and height

Thanks

Do you want the device’s actual pixels?  display.pixelWidth, display.pixelHeight

Do you want the content area size:  display.contentWidth, display.contentHeight

Thank you very much Rob.

that works really well…

Thanks you

Do you want the device’s actual pixels?  display.pixelWidth, display.pixelHeight

Do you want the content area size:  display.contentWidth, display.contentHeight

Thank you very much Rob.

that works really well…

Thanks you