igiSliderFloat

Category: IGI (in-game GUI) — Values

Syntax:

igiSliderFloat:Double(label:String, value:Double, minValue:Double, maxValue:Double)


Parameters

Returns

The new value.



Summary

A slider for a decimal number (shown to 3 places). Ctrl+click it to type a value.

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



Example
speed = igiSliderFloat("Speed", speed, 0.5, 4.0)

BambooBasic © 2026 Michael Denathorn