Need to change positon of gui style button

Hi

I am trying to move a gui style button to a specific position on screen.

The content offset does not change the position of the button.

How do I move a Gui Style button?

here is my code below.

var button: GUIStyle;
function OnGUI() 

{
       if(GUILayout.Button ("",button))

       {

			Debug.Log(GUI.skin.customStyles[0].contentOffset);

        }

}

Just use GUI instead of GUILayout. Then you can specify the rect location…

if(GUI.Button(new Rect(10,10,100,50), "my button") )
{
     // do whatever
}

That does not allow me to use a custom button of any shape though