The tikzmark package defines a command to "remember" a position on a page for later (or earlier) use, primarily (but not exclusively) with TikZ.