# Is there a way to reverse Atan2?

**URL:** <https://forum.kirupa.com/t/is-there-a-way-to-reverse-atan2/248249>\
**Category:** Uncategorized\
**Created:** [January 5, 2008, 8:13pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-reverse-atan2/248249 "2008-01-05T20:13:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joran420](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/joran420/32/2329_2.png) [@joran420](https://forum.kirupa.com/u/joran420)\
**Post date:** [January 5, 2008, 8:13pm UTC](https://forum.kirupa.com/t/is-there-a-way-to-reverse-atan2/248249/1 "2008-01-05T20:13:46Z")

</div>

Is there a way to reverse Math.atan2  
back into a dy,dx value?

like

dx =5 dy = 3  
Math.atan2(dy,dx)

then much later after dx and dy are released  
is there a way to get the dx dy values…

hopefully that made sense…I have a cold and the medicine is messing with my head
