display.contentHeight

Type Number
Library display.*
Revision Release 2022.3683
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.