API reference

Every method, signature and return type. Window options are on Getting started.

Window · Elements · Notifications

Window

Method Returns Notes
Netmos.new(options) Window Creates the window, blur pipeline and runtime.
Window:Show() nil Reveals the window and restores blur.
Window:Hide() nil Hides the window and releases blur.
Window:Toggle() nil Flips the visible state.
Window:SetMinimized(state) nil Collapses or restores the layout.
Window:ToggleMinimize() nil Flips the minimized state.
Window:Destroy() nil Releases the GUI, blur and pooled connections.

Elements

Every constructor takes the Tab returned by CreateTab.

Constructor Returns Notes
Window:CreateTab(name) Tab The first tab opens automatically.
Window:CreateSection(tab, text) Frame Adds a section heading.
Window:CreateLabel(tab, text) Label Set(text) updates the label.
Window:CreateButton(tab, text, callback, description?) Row Callback runs in a new thread.
Window:CreateToggle(tab, text, default, callback, description?) Toggle Set(state) fires the callback.
Window:CreateSlider(tab, text, min, max, default, step, callback, description?) Slider Values clamp and snap to step. Set fires the callback.
Window:CreateTextbox(tab, text, placeholder, default, callback, description?) Textbox Callback receives (text, enterPressed).
Window:CreateDropdown(tab, text, items, default, callback, description?) Dropdown Defaults to items[1]. Set updates the label only.
Window:CreateKeybind(tab, text, defaultKey, callback, description?) Keybind Fires on assignment and on key press.

CreateButton

Window:CreateButton(tab, text, callback, description?)

  • callback runs in a new thread when the button is clicked.
  • description is optional helper text under the label.
  • Returns { Row }.
Lua button.lua
Window:CreateButton(tab, "Heal", function()
    local character = game.Players.LocalPlayer.Character
    local humanoid = character and character:FindFirstChildOfClass("Humanoid")

    if humanoid then
        humanoid.Health = humanoid.MaxHealth
    end
end, "Restore full health")

Control handles

  • Toggles, sliders, textboxes, dropdowns and keybinds return { Row, Get, Set }. Labels return { Row, Set }.
  • Set() fires the callback for toggles and sliders only.
  • Dropdown Set() does not validate against the item list.
  • Keybind callbacks fire when a key is assigned, then every time that key is pressed.

Notifications

Window:Notify(title, body, duration?, kind?)

  • duration — seconds before dismissal. Defaults to 4.
  • kind — "info", "success", "warn" or "error". Defaults to "info".
Lua notify.lua
Window:Notify("Netmos", "Script loaded.", 4, "success")

Notifications stack in the top-right corner and dismiss automatically.

© 2026 Netmos UI Library · v0.1a1 Source