# Point to a movieclip's x/y from a different movieclip

**URL:** https://forum.kirupa.com/t/point-to-a-movieclips-x-y-from-a-different-movieclip/311944
**Category:** flash
**Created:** [July 20, 2010, 11:52pm UTC](https://forum.kirupa.com/t/point-to-a-movieclips-x-y-from-a-different-movieclip/311944 "2010-07-20T23:52:33Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Zenor](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zenor/32/3634_2.png) [@Zenor](https://forum.kirupa.com/u/Zenor)
#### Post date: [July 20, 2010, 11:52pm UTC](https://forum.kirupa.com/t/point-to-a-movieclips-x-y-from-a-different-movieclip/311944/1 "2010-07-20T23:52:33Z")

</div>

Hello,

I am trying to get the x & y values of a movieclip(contentMc) from inside a different movieclip. Is this the correct way?  
Here’s my code:

```auto
myMc.x = MovieClip(root).contentMc.x;
myMc.y = MovieClip(root).contentMc.y;

```
