changing scenes

can I get my scenes to change by the number keys (eg 1 2 3 4 5) I have this

function Update () {
	if (Input.GetKey ("1"))
Application.LoadLevel ("2");

thankyou for any help

What answer do you expect here other than “Yes”? Of course you can do it. Just make sure the scenes you want to load are in the Build Settings or else it will not work.