format
typescript
Mathf.ATan2(y, x)class: Mathf
description
Returns the angle (in radians) from the X-axis to a point.
parameter
| param_name | type | description |
|---|---|---|
| y | number | The value of the y-coordinate in Cartesian coordinates. |
| x | number | The value of the x-coordinate in Cartesian coordinates. |
return
| type | description |
|---|---|
number | The angle (in radians) from the X-axis to the point. |
