# Trig. equations needed

**URL:** <https://forum.kirupa.com/t/trig-equations-needed/138123>\
**Category:** Uncategorized\
**Created:** [February 20, 2005, 4:05am UTC](https://forum.kirupa.com/t/trig-equations-needed/138123 "2005-02-20T04:05:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Templarian](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/templarian/32/7152_2.png) [@Templarian](https://forum.kirupa.com/u/Templarian)\
**Post date:** [February 20, 2005, 4:05am UTC](https://forum.kirupa.com/t/trig-equations-needed/138123/1 "2005-02-20T04:05:37Z")

</div>

I know some basic trig. but how do i find an angle from an anchor point and a mving point? To help you off …

adjecent = \_root.anchor.\_x-\_root.\_xmouse;  
opposite = \_root.anchor.\_y-\_root.\_ymouse;  
hypotenuse = ((adjacent ^ 2)+(opposite ^ 2)) ^ 0.5;

If anyone knows thx in advance.
