igiInputInt

Category: IGI (in-game GUI) — Values

Syntax:

igiInputInt:Int(label:String, value:Int)


Parameters

Returns

The new value.



Summary

A box to type a whole number into, with - and + buttons.

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



Example
lives = igiInputInt("Lives", lives)

BambooBasic © 2026 Michael Denathorn