Maps the given value from one range to another
For example, if you have a value of 20 in the range 0-200, and you want to map it to the range 100-200, the result will be 110
overload 1:
math.map(value, oldMin, oldMax, newMin, newMax)
Method Property | Fluent Description | Representation |
value accepts | a Number | |
oldMin accepts | a Number | |
oldMax accepts | a Number | |
newMin accepts | a Number | |
newMax accepts | a Number | |
Return Value | a Number | |