Category: Mathematics
Syntax:
mathClamp:Double(value:Double, min:Double, max:Double)
Double
Restricts a value to a specified range.
Takes value (number to constrain), min (minimum allowed value), max (maximum allowed value).
Returns the value constrained to be between min and max (inclusive).
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn