igiMenuItem

An item in a menu. Takes label (The item's text). Returns: 1 on the frame it's chosen.

IGI

Parameters & Returns

Parameters

label String

Returns

Int

Quick Summary

An item in a menu. Takes label (The item's text). Returns: 1 on the frame it's chosen.

Technical Exegesis...

An item in a menu.

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

Returns: 1 on the frame it's chosen.

Example

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