A shot in the dark

Is there a way (a method) to obtain the location of an item no matter where it is.

Maybe something that looks for an item finds it’s path and puts that path at to a _global