Window.y readwrite


Get or set the Window vertical position. The vertical position start from 0 (top side of the Desktop) and increase to the bottom side of the Desktop.

Example

--! luart-extensions import ui -- create a simple window local win = ui.Window("Window.y sample") -- shows the Window win:show() -- update user interface and increase Window horizontal position repeat ui.update() win.y = win.y + 1 -- Sleep for 1ms to slow down the movement sleep(1) until win.y > 800