MathfClamp01On this pageMathf.Clamp01(number value) Clamps value between 0 and 1 and returns value. Parameters: NameTypeDescriptionvaluenumbervalue Returns: typeDescriptionnumberClamped value between 0 and 1 Usage ---@type numberlocal value;local val0 = Mathf:Clamp01(value)