Window
Methods of Window objects. Nyx Lua API v1.
Window:on_paint
Section titled Window:on_paintWindow:on_paint(fn: (r: typeof(render)) -> ()) -> ()Draws the window's contents each frame, relative to its top-left.
Window:visible
Section titled Window:visibleWindow:visible(visible: boolean) -> ()Shows or hides the window.
Window:position
Section titled Window:positionWindow:position() -> vector?The window's saved position.
Nyx Lua API v1 · release commit-4b659d9c3810 · d0f772c99281