# Compare two lines

**URL:** <https://forum.kirupa.com/t/compare-two-lines/295670>\
**Category:** Uncategorized\
**Created:** [September 2, 2009, 7:12pm UTC](https://forum.kirupa.com/t/compare-two-lines/295670 "2009-09-02T19:12:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BenBart](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BenBart](https://forum.kirupa.com/u/BenBart)\
**Post date:** [September 2, 2009, 7:12pm UTC](https://forum.kirupa.com/t/compare-two-lines/295670/1 "2009-09-02T19:12:01Z")

</div>

I have two lines. One is straight and one is curved. Both were created with the Flash Graphics interface. How would I compare the different Y value for the curved line for any given X. In other words, how do I find a point on curve if I used the CurveTo method.
