igiMenuItem

Category: IGI (in-game GUI) — Trees, tabs and menus

Syntax:

igiMenuItem:Int(label:String)


Parameters

Returns

1 on the frame it's chosen.



Summary

An item in a menu.

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.



Example
If igiMenuItem("Quit") Then running = False

BambooBasic © 2026 Michael Denathorn