Returns the angle whose tangent is the quotient of two specified numbers.
Syntax
atan2(y, x)
Remarks
The return value is the angle in radians in the Cartesian plane formed by the x-axis, and a vector starting from the origin, (0,0), and terminating at the point, (x,y).