change scene with keypress??

hey guys, im after a basic javascript that allows me to return back to the main menu scene when i press Escape in my game, please help :slight_smile:

thanks

Hi, change code like this

function Update()
{

if( Input.GetButtonDown( KeyCode.Escape) )
{

Application.LoadLevel(0); // it number or name, string

}

}