The tan native AI script function is used to calculate the tangent of an input value in radians.
(value: f)tan(input: f) // tan_f_f
(val)tan(1.0);
This example code calls the tan function with an input value of 1.0 and returns the calculated tangent as a float.