Getting an object's y coordinate

Note: those who have a low tolerance of n00bs may want to leave. xD

I just switched over from "Game Maker" to Unity 3d, and thank God I did! I just need a simple answer to a simple question, as I am not very familiar with Unity3d's variables, or javascript at all in that matter...

Is there a built in variable for x, y, and z of objects? If so could you all tell me what it is and maybe direct me to where I can look up an answer to this kind of question without bothering all of you?

Thanks a thousand, Kevin

transform.position.y

http://unity3d.com/support/documentation/ScriptReference/Transform.html

i'd use something like

function Update(){
print(rigidbody.position.y);
}

that's how i did it