# ee.Array.atan2

On an element-wise basis, calculates the angle formed by the 2D vector \[x, y\].

<br />

| Usage | Returns |
|---|---|
| `Array.atan2(right)` | Array |

| Argument | Type | Details |
|---|---|---|
| this: `left` | Array | The left-hand value. |
| `right` | Array | The right-hand value. |