Accesing a component that is attached to a different object

I was wondering how I could do this. I have a script and it needs to get the transform of another object.

thanks in advance

If the component is unique, you may want to use FindObjectOfType.

Its a transform :confused:

Look here:

http://unity3d.com/support/documentation/ScriptReference/index.Accessing_Other_Game_Objects.html

Thank you