How do I set the player's spawn to the location they collided with an object?,How do I set the spawn to where the player collides with an object?

I’m trying to make it so when the player interacts with an object, which then sends the player to a new scene, come back in (or around at least) the location of which they collided. I’ve attempted searching google for answers and here but I’ve been unable to find any help, so anyone who can provide me with info on how to accomplish this would be a big help!

,I’m trying to make it so when the player interacts with an object, which then sends the player to a new scene, come back in (or around at least) the location of which they collided. I’ve attempted searching google for answers and here but I’ve been unable to find any help, so anyone who can provide me with info on how to accomplish this would be a big help!

Not sure to exactly understand what you’re looking for, but you could instantiate a persistent object with a script which would hold the collision location ?