Type Number Library display.* Revision Current Public Release (2017.3068) Keywords pixelHeight See also [api.library.display.pixelWidth]
The height of the screen for mobile device apps, or the height of the window for desktop apps. This value is in pixels and is always relative to portrait orientation.
For historical reasons with context to mobile devices, this value is always reported from the perspective of a portait app and therefore may actually be the width of the physical screen.
print( display.pixelHeight )