UI with a world minimap. How to capture a click with position?

I’m stuck with a minimap teleporter in my world.
I have a 2D canvas that shows an image, and the image shows the world’s map.
I can point and click on it. I’m struggling to create a script that converts the click to the world coordinates so that I could teleport the user there.
I attached udon# script to the Image.
What method do i need to override to catch the “click” event?
How to get the coordinates of the pointer on the image?
Any ideas and suggestions are appreciated, thanks!

I’d love to know this too… The closest I’ve found is to ask the player to pick up an object to act as a pointer, and then raycast from that object; that will accomplish the same type of thing just fine, in VR and desktop, but it does feel silly to ask people to go to that extra step.