Clicking on object to teleport player?

I’m rather new to UnityScript, and I want to created a scene where there are objects that the player can click on. When the player clicks on the objects, he is teleported to said object. How would I do this?

try to learn all about the following expressions:

transform.position
Input.GetKey()
if(){}

Good Luck!