igiListBox

Category: IGI (in-game GUI) — Values

Syntax:

igiListBox:Int(label:String, selected:Int, items:String, height:Int)


Parameters

Returns

The chosen item, from 0.



Summary

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.



Example
level = igiListBox("Level", level, "Forest|Cave|Castle|Moon", 4)

BambooBasic © 2026 Michael Denathorn