igiDragFloat

Category: IGI (in-game GUI) — Values

Syntax:

igiDragFloat:Double(label:String, value:Double, speed:Double, minValue:Double, maxValue:Double)


Parameters

Returns

The new value.



Summary

A decimal number you change by dragging.

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



Example
gravity = igiDragFloat("Gravity", gravity, 0.01, 0.0, 2.0)

BambooBasic © 2026 Michael Denathorn