So you are looking for a braid mechanic ?
Then , you'll need more than only saving the player position , in fact , you must save the position for each object ingame
I suggest putting all the objects in a family and adding them to a container with the array , so there'll be an instance of array for each object of the family ...
Also , the best way to learn is to try ourselves before , in a lot of cases , there's a small bug that we just can't see , so don't go willy-nilly on the How Do I section as a lot of people do !
Just a tip