# How do you get width at a given hieght?

**URL:** <https://forum.kirupa.com/t/how-do-you-get-width-at-a-given-hieght/285454>\
**Category:** flash\
**Created:** [April 1, 2009, 1:30am UTC](https://forum.kirupa.com/t/how-do-you-get-width-at-a-given-hieght/285454 "2009-04-01T01:30:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![weavermount](https://avatars.discourse-cdn.com/v4/letter/w/c6cbf5/32.png) [@weavermount](https://forum.kirupa.com/u/weavermount)\
**Post date:** [April 1, 2009, 1:30am UTC](https://forum.kirupa.com/t/how-do-you-get-width-at-a-given-hieght/285454/1 "2009-04-01T01:30:33Z")

</div>

The best idea I had was getting the bounding box width, looping through that with point tests, and returning the number of hits. Can you think of a better idea?
