arctan(x)
From YoYoGames Wiki
Description
This function returns the inverse tangent of an angle in radians.
Arguments
- x (real): angle in radians
Returns
- (real): inverse tangent of angle x
Explanation
If you prefer working with degrees, you can convert degrees to radians by using the function degtorad(x) and then enter this as an argument.
Arctan (also known as inverse tangent or tan-1) is a function where if tan(x)=n then x=arctan(n).

