Camera.y readwrite

widget only

This property is only available when the ui module is loaded before capture and Camera is used as a widget. Accessing it in object mode will raise an error.
Get or set the Camera widget vertical position. The vertical position starts from 0 (top side of the parent widget) and increases downward.

Example

--! luart-extensions import ui, capture local win = ui.Window("Camera.y sample", "fixed", 640, 520) local cam = ui.Camera(win, 10, 10, 300, 240) -- Move Camera down cam.y = 100 await win:showasync()