<div class="meta" robots="noindex">

</div>

Method

# Xojo.Math.ATan2

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

<div class="warning">

<div class="title">

Warning

</div>

This item was deprecated in version 2020r2. Please use `Atan2</api/math/atan2>` as a replacement.

</div>

## Description

Returns the arctangent of the point whose coordinates are x and y. The arctangent is an angle from the x-axis to a line drawn through the origin (0, 0) and a point with coordinates x, y.

## Compatibility

All project types on all supported operating systems.
