Script to teleport me to set points in the scene

Good morning everyone.
As per the title I would like to make a script that:
I open the Menu, clicking on the destination I want in the dropdown teleports me.


my Menu (which I call up using the Menu button on the Quest Controller 2)

8657463--1165590--upload_2022-12-13_12-25-42.png
the different positions in dropdown


several Teleportation Anchors are positioned in blue.

I look forward to suggestions and help. Thank you.

you can set position with:

which part you have trouble with?

  • does the menu work on pc already?

I didn’t add that I’m doing a simulation in VR.
Anyway The menu works. I just need to create the script to associate the dropdown button with the corresponding teleport anchor.