The min native AI script function returns the lowest of two values.
(min_value: f)min(value1: f, value2: f) // min_ff_f
(shortest)min(left, right)
This example code compares the left
and right
parameters and returns the shortest of the two.