igiInputText

Category: IGI (in-game GUI) — Values

Syntax:

igiInputText:String(label:String, text:String)


Parameters

Returns

The new text.



Summary

A one-line text box. It grows to take any length. While it has the keyboard, igiWantsKeyboard() is 1 - ignore game keys then. On the web, Ctrl+V pastes from the clipboard.

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



Example
playerName = igiInputText("Name", playerName)

BambooBasic © 2026 Michael Denathorn