Motion
Get Motion

ReferenceScript nodesMath › Trig

Arctangent2 (Degrees)

The angle in degrees of a direction x, y (atan2).

Math › TrigPure: no flow pinsangleOf

Inputs

PinTypeStarts atNotes
Yynumber1–
Xxnumber1–

Outputs

PinType
Resultoutnumber

The code it becomes

The graph below written as a script would write it.

// On Scene Startscene.log(((Math.atan2(1, 1) * 180 / Math.PI)));

In a graph

The node with what starts it and Print to show what it gives, as Studio draws them.