Atan2

Parameters
y real
x real
comment

Arctangent function with two arguments. The result is returned in radians in range (-Pi;Pi]. Returns 0 if x and y are both 0

pure
This function is pure. For the same values passed to it, it will always return the same value.
return type
real
Source code
native Atan2    takes real y, real x returns real
Source
common.j
wc3modding.com
Atan2