XLQP Gen1
ElementsData & charts

CreateProgressBar

Creates a progress bar with explicit current value and display formatting.

CreateProgressBar

What it does

Creates a progress bar with explicit current value and display formatting.

When to use it

Use it for loading, completion, health, or quota values controlled by your script.

ElementFunction:CreateProgressBar(BarConfig)

local Gen3Progress = LeftGroup:CreateProgressBar({
    Name = "Level Progress",
    Description = "Read only progress with a smooth gradient fill.",
    CurrentValue = 340,
    Min = 0,
    Max = 500,
    Suffix = " xp",
    ValueText = "{value} xp out of {max}",
    Callback = function(value)
        print("level progress", value)
    end
})

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.