Findinga GameObject Transform

Hi i want to find a gameobject location for a script that make a camera follow my character for a FPS, so i figured out that i will make the camera transform values to be the same as my character except for the Y which will be the Y value of the character + the distance between his head and his foots.

But i don’t know how to get a transform value.

Thanks i googled it but didn’t find something sorry for that.

var player : Transform = GameObject.Find(“Player”).transform;

function Start()
{
    print(player.position);
}

Do some homework using the Unity Script Reference HERE.