The acos native AI script function returns the arccosine of a given input value.
(y: f)acos(x: f)
(y)acos(0.5f);
This example code calculates the arccosine of 0.5 and stores the result in the variable y.
y