Left Toolbar > Math Nodes > Number XY Angle
The Number XY Angle node allows you to calculate the angle of the vector defined by point xy with the x axis.
On the left toolbar choose Math Nodes > Number XY Angle
Drag the Number XY Angle icon into the Node Graph.
Connect the Output: Result.
X
X position. A NUMBER type of value.
Y
Y position. A NUMBER type of value.
Result
The angle of point xy in degrees.
X
X value. This attribute is exposed as input by default. It can be defined in the attributes panel as well.
Y
Y Value. This attribute is exposed as input by default. It can be defined in the attributes panel as well.