Atomic docs

imgui.Combo

imgui.Combo(label: string, current: number, items: {string}): (boolean, number)

A dropdown over an array of strings. The index is one based, matching the table.

Example

lua
local items = { "head", "torso", "nearest" }
local changed
changed, target = imgui.Combo("target", target, items)
↑