math#
Pure math utilities.
Functions#
math.Math— The full JavaScriptMathglobal plus the standard numeric globals are available inside scripts as the platform sandbox exposes them.math.clamp— Constrainvalueinto the inclusive range[min, max].math.lerp— Linear interpolation betweenaandbby parametert.math.percentile— Linear-interpolation percentile ofvalues.math.round— Roundvalueto the given number of decimal places.