ElementsMedia & visuals
AddPassthrough
Mounts an existing Roblox GUI instance inside the current XLQP layout.
AddPassthrough
What it does
Mounts an existing Roblox GUI instance inside the current XLQP layout.
When to use it
Use it to reuse a custom component without rebuilding it with XLQP constructors.
ElementFunction:AddPassthrough(PassConfig)
Visuals:AddPassthrough({
Name = "Custom Frame",
Height = 44,
Instance = CustomFrame
})Behavior and return value
Call this method on the compatible section, tab, panel, or element container shown by the signature. Store the returned value when you need to update, read, or destroy the element later.
Fields marked optional may be omitted. XLQP then uses the method’s built-in default or leaves that feature disabled.