# Angle issue - Need help with finding coordinates

**URL:** <https://forum.kirupa.com/t/angle-issue-need-help-with-finding-coordinates/305750>\
**Category:** flash\
**Created:** [March 3, 2010, 3:36am UTC](https://forum.kirupa.com/t/angle-issue-need-help-with-finding-coordinates/305750 "2010-03-03T03:36:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snivvle](https://avatars.discourse-cdn.com/v4/letter/s/edb3f5/32.png) [@Snivvle](https://forum.kirupa.com/u/Snivvle)\
**Post date:** [March 3, 2010, 3:36am UTC](https://forum.kirupa.com/t/angle-issue-need-help-with-finding-coordinates/305750/1 "2010-03-03T03:36:12Z")

</div>

I have worked with trig before, but kinda just on overload and can’t figure this out.

Imagine two movieclips, both on the same Y axis. I want one MC to be able to diagonally move to the other MC X axis, all while making a perfect diagonal line until it reaches 100y.

![](http://forum.kirupa.com/uploads/kirupa/6153/15277f97c7badea5.jpg)

So just like this picture, that MC moves in a perfect diagonal until it matches the other MC.x, and 100y (no matter what, it can’t go past 100y but must equal 100y)

I probably made it sound more complicated than it is. Anyway, any help would be hugely appreciated.

Thanks.
