Category: IGI
Syntax:
igiListBox:Int(label:String, selected:Int, items:String, height:Int)
Int
A list where one item can be chosen.
Takes label (The text beside it), selected (The chosen item, from 0), items (The items in one string, separated by |), height (How many items show at once (0 = ImGui chooses)).
Returns: The chosen item, from 0.
View detailed documentation online
level = igiListBox("Level", level, "Forest|Cave|Castle|Moon", 4)
BambooBasic © 2026 Michael Denathorn