transform.root

Hi, anyone know how to get the position of the camera rig by using transform.root?
I want to get the position of the camera rig to make it teleport for my project.
Thanks!

Checking the API always helps (Unity - Scripting API: Transform.root). root is yet another Transform so if it IS the Transform you are looking for it’s simply transform.root.position