Category: IGI (in-game GUI) — Layout
Syntax:
igiSetNextItemWidth:Void(w:Int)
Nothing
Sets the width of the next widget (a slider, text box, drop-down and so on).
Call it every frame, between drawing your game and b2dFlip. See the IGI guide.
igiSetNextItemWidth(120)
volume = igiSliderInt("Volume", volume, 0, 100)
BambooBasic © 2026 Michael Denathorn