GUI Texture positioning

I am having trouble finding specifics relating to in-script positioning. In other words, what would one use (in javascript) that would allow one to alter the position of a GUI texture INSIDE a javascript script?

From, it appears that you can use GUITexture.pixelInset to determine the size and position of a GUITexture from script

GUITextures live in Viewport coordinates. Viewport coordinates start at (0,0) in the lower left of the screen and go to (1,1) in the upper right of the screen. You can set it in script by assigning Viewport coordinates to transform.position. So to position the GUITexture in the middle of the screen:

transform.position = Vector3(0.5, 0.5, 0.0);

Note that your position will also depend on the GUITexture’s ‘Pixel Inset’ values.

Sorry to bump a months-old post, but for the sake of not starting new threads about repeated questions:

Do the world coordinates on a GUITexture game object affect the behavior of the GUITexture at all? I’m trying to instantiate GUITextures via script (javascript), and have them dynamically follow a game object around (they’re health bars following units), but am having zero luck. Thanks for any tips!