Curve
This function returns an value interpolated between a current and target value.
Syntax
- number Curve(number target, number current, number divisions)
Parameters
- target: the value being moved towards.
- current: the current value.
- divisions: the number to divide the difference by.
Returns
Returns an interpolated value.