# How do you get the x and y co ordinates of an object in a movieclip?

**URL:** <https://forum.kirupa.com/t/how-do-you-get-the-x-and-y-co-ordinates-of-an-object-in-a-movieclip/322249>\
**Category:** flash\
**Created:** [May 16, 2011, 7:25am UTC](https://forum.kirupa.com/t/how-do-you-get-the-x-and-y-co-ordinates-of-an-object-in-a-movieclip/322249 "2011-05-16T07:25:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OhMyJosh](https://avatars.discourse-cdn.com/v4/letter/o/46a35a/32.png) [@OhMyJosh](https://forum.kirupa.com/u/OhMyJosh)\
**Post date:** [May 16, 2011, 7:25am UTC](https://forum.kirupa.com/t/how-do-you-get-the-x-and-y-co-ordinates-of-an-object-in-a-movieclip/322249/1 "2011-05-16T07:25:22Z")

</div>

Basically there’s an object in a movieclip. I want to find the location of that object in relation to the movieclip, not of the object’s symbol. So when i and look at the x and y of it, it wont show 0, it will show the x and y location in the movieclip it’s in.
