# Parent.height vs parent.stageHeight

**URL:** <https://forum.kirupa.com/t/parent-height-vs-parent-stageheight/296461>\
**Category:** Uncategorized\
**Created:** [September 15, 2009, 9:34am UTC](https://forum.kirupa.com/t/parent-height-vs-parent-stageheight/296461 "2009-09-15T09:34:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![regbolD](https://avatars.discourse-cdn.com/v4/letter/r/ecccb3/32.png) [@regbolD](https://forum.kirupa.com/u/regbolD)\
**Post date:** [September 15, 2009, 9:34am UTC](https://forum.kirupa.com/t/parent-height-vs-parent-stageheight/296461/1 "2009-09-15T09:34:26Z")

</div>

I want to place an object either directly on stage or in some other movieClip but I need to read parent height to align it properly from the bottom.

I thought I could use this and it will work for both the stage and the movieClip and I could get away with one line of code:

```auto
trace(parent);
//[Object Stage]
trace(parent.height);

```

but this doesnt work for stage, I need to use this:

```auto
trace(parent.stageHeight);

```

which is the same as this:

```auto
trace(stage.stageHeight);

```

so obviusly I need to ask first whether the parent is the stage, so I can find the height…  
So what is parent.height actually outputting?
