XLQP Gen1
ElementsNavigation & windows

CreateControlPanel

Creates a standalone control panel containing actions or state controls.

CreateControlPanel

What it does

Creates a standalone control panel containing actions or state controls.

When to use it

Use it for compact operational tools that should remain separate from a normal section.

XLQPGen1:CreateControlPanel(PanelConfig)

local Panel = Library:CreateControlPanel({
    Name = "ShortcutPanel",
    Title = "Active shortcuts",
    Icon = "keyboard",
    Width = 300,
    Height = 390,
    Position = UDim2.new(1, -318, 0, 82),
    Detached = true,
    Pin = true,
    Popout = true,
    DockHeight = 236,
    LayoutOrder = 10,
})

Behavior and return value

Store the returned controller or object when later code needs to update its state, call its methods, or close it.

Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.