igiSetNextItemWidth

Category: IGI (in-game GUI) — Layout

Syntax:

igiSetNextItemWidth:Void(w:Int)


Parameters

Returns

Nothing



Summary

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.



Example
igiSetNextItemWidth(120)
volume = igiSliderInt("Volume", volume, 0, 100)

BambooBasic © 2026 Michael Denathorn