# Shape and reg point inside a parent

**URL:** <https://forum.kirupa.com/t/shape-and-reg-point-inside-a-parent/300618>\
**Category:** Uncategorized\
**Created:** [November 24, 2009, 5:37pm UTC](https://forum.kirupa.com/t/shape-and-reg-point-inside-a-parent/300618 "2009-11-24T17:37:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lope](https://avatars.discourse-cdn.com/v4/letter/l/43a26b/32.png) [@lope](https://forum.kirupa.com/u/lope)\
**Post date:** [November 24, 2009, 5:37pm UTC](https://forum.kirupa.com/t/shape-and-reg-point-inside-a-parent/300618/1 "2009-11-24T17:37:10Z")

</div>

draw a shape on the stage, make it into a movieclip, registration point wherever, tl is fine, name it mc, and put his code:

trace(mc.getChildAt(0).y);

now get inside a movieclip and move that shape around (away from registration point) for example above registration point, or wherever and output will always be 0.

why is that?
