What would be the best way to handle position across colections

I’m making an original Zelda style game and every different area is a different collection and some of them have more than one way in and out so I’m trying to figure out how to keep the position consistent when loading and unloading them. I know I have to use a Lua module and store them somewhere but I’m stuck. I have been trying for a few weeks now and I’m just stuck. I just can’t figure out how to do it. Any help will be greatly appreciated. Thanks.

This seems like an appropriate tutorial for what you are trying to do: RPG map sample

Ill check it out thanks