The **Atan2** node returns the 2-argument arctangent of the point with the input X and Y coordinates. The output value is the angle between the positive x axis and the point in the Cartesian coordinate system.

## Variants

There are many variants of this node. The simplest take 2 scalar numeric-typed values. Some more complicated variants take one scalar and one vector or two same-sized vectors. In each case, the output has the same dimensions as the highest dimension input. Values are calculated element-wise, for example:

If the input Y is 1 and input X is [2;3] the output will be [Atan2(1,2);Atan2(1,3)].

Similarly if the input Y is [1;2] and the input X is [3;4] the output will be [Atan2(1,3);Atan2(2,4)].

## Inputs

### Y (Pseudo-Generic)

Input Y coordinate value.

### X (Pseudo-Generic)

Input X coordinate value.

## Outputs

### * (Pseudo-Generic)

2-argument arctangent of Y and X.