Category: IGI (in-game GUI) — Values
Syntax:
igiListBox:Int(label:String, selected:Int, items:String, height:Int)
The chosen item, from 0.
A list where one item can be chosen. It scrolls when there are more items than fit.
Call it every frame, between drawing your game and b2dFlip. See the IGI guide.
level = igiListBox("Level", level, "Forest|Cave|Castle|Moon", 4)
BambooBasic © 2026 Michael Denathorn