igiDragFloat

Category: IGI

Syntax:

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


Parameters

Returns

Double



Summary

A decimal number you change by dragging.

Takes label (The text beside it), value (The current value), speed (How much the value changes per pixel dragged), minValue (The lowest value), maxValue (The highest value (min = max means no limits)).

Returns: The new value.

View detailed documentation online



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

BambooBasic © 2026 Michael Denathorn