Udon sharp help

How would i convert a transform into a Quaternion position and rotation for teleporting a player?
I’m trying to extract the position and rotation of an object to teleport the player to and don’t know-how. I’m currently using a Transform to reference the object but is there a better way to do this to make it easier?

A transform is a good way to keep track of a destination, you can keep using that. The properties you need for teleporting a player to that location is as simple as transform.position and transform.rotation

that worked thank you