Construct 2 has been officially retired. Now you should upgrade to Construct 3.
Layout functions
A layout represents a layout in the project at runtime. Only one layout can be running at a time.
Layout properties
- layout.runtime
- A reference back to the runtime.
- layout.event_sheet
- A reference to the layout's event sheet, or null if it does not have one.
- layout.name
- The layout's name.
- layout.width
- layout.height
- The size of the layout, in pixels.
- layout.unbounded_scrolling
- A boolean indicating the 'unbounded scrolling' setting.
- layout.layers[]
- An array of layers on the layout.
Layout functions
- layout.scrollToX(x)
- layout.scrollToY(y)
- Scroll the layout to the given coordinates.
Construct 2 Javascript SDK Manual
Construct.net
2020-06-05
2020-06-05
You are here:
Search this manual:
This manual entry was last updated on 5 Jun, 2020 at 11:51