display.contentHeight

Type Number
Library display.*
Revision 2017.3110
Keywords contentWidth, content
See also display.contentWidth

Overview

A read-only property representing the height of the content area in pixels. This will default to the screen height, but may be another value if you are using content scaling in config.lua.

See the Project Configuration guide for details on the content area.