# Find Coordinates of Another Movieclip On Stage

**URL:** <https://forum.kirupa.com/t/find-coordinates-of-another-movieclip-on-stage/321914>\
**Category:** flash\
**Created:** [May 4, 2011, 6:54pm UTC](https://forum.kirupa.com/t/find-coordinates-of-another-movieclip-on-stage/321914 "2011-05-04T18:54:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Scheisse](https://avatars.discourse-cdn.com/v4/letter/s/839c29/32.png) [@Scheisse](https://forum.kirupa.com/u/Scheisse)\
**Post date:** [May 4, 2011, 6:54pm UTC](https://forum.kirupa.com/t/find-coordinates-of-another-movieclip-on-stage/321914/1 "2011-05-04T18:54:24Z")

</div>

I just started coding classes and I am having some pretty good success thus far coding individual objects. BUT I realized that I don’t know how to find coordinates of another object that is on the stage!

Say I am coding in the class “Zombieguy”.

With the other movieclips linkage “Armyguy” I try to trace  
trace(Armyguy.y);  
OR  
trace(Armyguy.Y);

Both come up with “access of possibly undefined property y through reference with static type Class”.

I’m sure this is probably pretty simple, but can someone inform me of how to do this small step that is holding me back? I don’t know how to even search for the answer because there is so much other stuff that comes up in searches.

Thanks!
