Math

ArcTangent2

Trigonometric

Returns the angle whose tangent is the quotient of two specified numbers

Docs for v2.1.16, the latest version.

ID

math-trigonometric-arctangent2

Group

Trigonometric

Plugin

Math

Keywords

atan2
arcTan2

ArcTangent2

Trigonometric

2 inputs, 1 output

Ports

Inputs

2

What the node takes in, from wires or typed values.

Y

Number

The y coordinate of the point

X

Number

The x coordinate of the point

Outputs

1

What the node gives out, to wire into other nodes.

Radian

Number

The angle in radians (in [-pi, pi] ) between the positive x-axis and the ray from (0,0) to the point (x,y)

Creation method#

There are two options for creating an ArcTangent2 node.#

  • The first way to create an ArcTangent2 node using the search list, which is opened by double left-clicking in the workspace. You can write the name of the node you need, or words associated with this node.
    • atan2 , arcTan2
  • The second way is to select an ArcTangent2 node from the menu that opens from the top left.
    • Menu > Math > ArcTangent2

Steps#

  • Create an ArcTangent2 node.
  • Connect the y coordinate of the point to the first port.
  • Connect the x coordinate of the point to the second port.

See also#

ArcSineH
ArcCosineH
ArcTangentH\

History

First documented in v2.1.16

Oct 20, 2026

Versions before it were published before changes were recorded.