# How to get global/stage coordinate?

**URL:** https://forum.kirupa.com/t/how-to-get-global-stage-coordinate/278030
**Category:** programming
**Created:** [December 20, 2008, 2:01pm UTC](https://forum.kirupa.com/t/how-to-get-global-stage-coordinate/278030 "2008-12-20T14:01:44Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![bluemagica](https://avatars.discourse-cdn.com/v4/letter/b/a4c791/32.png) [@bluemagica](https://forum.kirupa.com/u/bluemagica)
#### Post date: [December 20, 2008, 2:01pm UTC](https://forum.kirupa.com/t/how-to-get-global-stage-coordinate/278030/1 "2008-12-20T14:01:44Z")

</div>

If i create a nested mc, say stage.a.b.c, then for c, if i do this.x, it will be relative to origin of b, which is again relative to a, and so on…this is creating quite a bit of confusion for me in my code…so how can i get coordinates of the current object with respect to stage no matter how much nested they are?
