Skip to main content

ATAN2

Returns the arctangent of the x,y coordinates, in radians. The angle is measured counter-clockwise from the positive x-axis.

CategoryTrig
SyntaxATAN2(x_num, y_num)

Parameters

ParameterRequiredDescription
x_numRequiredThe x-coordinate.
y_numRequiredThe y-coordinate.

Example

ATAN2(1, 1)      // → 0.7854… (π/4 rad)

Auto-generated from the EngCanvas function registry.