Scale a GUITexture from its center


I tried scaling a GUITexture to do an animation with iTween but unfortunately it turned to hell for me. it scales from the bottom left of the GUITexture. is there any possible way to make it scale from the center ?

PS: JS User

If you are scaling your GUITexture by changing the Pixel Inset width and height, you can anchor at the center by setting x and y to negative 1/2 the width and height respectively every time you change the width and height.