Find Coordinates of Another Movieclip On Stage

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!