Atan2

This calculation results in the output of the angle between the positive X axis of a 2-dimensional coordinate system and the directional vector for Position X, Y.