Screen is not creatable, there's only one instance of it. It can only be accessed through its globally exposed variable.

Screen represents the area on which the app is rendered.


nil Capture ( string filename optional, string transparentBackground optional )

Captures a screenshot, ignoring the app UI. It will open a file picker to select a file location on your device.

You can optionally provide a default file name, and whether or not the background should be transparent.

Triggered when the Screen is resized.

Screen.DidResize = function(width, height)
  print("SCREEN SIZE:", width, height)


Screen's height, in points.

Screen's size (width, height), in points.

Screen's width, in points.