Question: Hi i have some movieclips like this one: game\_mc.substage\_mc.rightHand and inside the rightHand i have a thread\_mc like this: 

```
game_mc.substage_mc.rightHand.thread_mc

```

Ok so here is the thing, i need to access the thread.x and thread.y position related to the stage or substage\_mc i don´t really care, but if i do this:

```
trace(game_mc.substage_mc.rightHand.thread_mc.x);

```

I only get the thread position related to the rightHand and not to the stage. Any help here?.

Answer: 
there is a function on the DisplayObject class called [localToGlobal](http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html#localToGlobal%28%29)

that will give you the coordinates, but you need to keep scale in mind
Try [localToGlobal](http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/display/DisplayObject.html#localToGlobal%28%29):

```
var posX:int = game_mc.substage_mc.rightHand.thread_mc.x;
var posY:int = game_mc.substage_mc.rightHand.thread_mc.y;
trace(game_mc.substage_mc.rightHand.thread_mc.localToGlobal(new Point(posX, posY));

```