Gui button (422702)

hi do anyone know why this code is not working function OnGUI()
{
(GUI.Button(Rect(0, 0, 200, 100),
} ty

i think you need a ; instead of a , to terminate your code.

Try this

function OnGUI(){

(GUI.Button(Rect(0, 0, 200, 100);

}