# Height being drawn in a triangle

**URL:** <https://forum.kirupa.com/t/height-being-drawn-in-a-triangle/148007>\
**Category:** Uncategorized\
**Created:** [May 16, 2005, 12:35pm UTC](https://forum.kirupa.com/t/height-being-drawn-in-a-triangle/148007 "2005-05-16T12:35:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ditti](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@ditti](https://forum.kirupa.com/u/ditti)\
**Post date:** [May 16, 2005, 12:35pm UTC](https://forum.kirupa.com/t/height-being-drawn-in-a-triangle/148007/1 "2005-05-16T12:35:34Z")

</div>

I have this triangle drawn (see fla)(Got it from this forum).  
Now I want a height being drawn as well.  
I want a height from point A beeing drawn to BC  
The angle at BC must be 90 degrees of course and the height drawn must alter when I drag the points B and C.  
Is this possible to do in flash, I have seen it done in JAVA
