display GUI on trigger2d enter then press button to enter

I am a newb at coding and i dont know how to add a press the button to cuntinue to next level type thing.
HELP

#pragma strict
import UnityEngine.UI;
var textToUse = "Text";
var text : Text;
var levelload : boolean;
function Start ()
{
    text.text = "";
}
function OnTriggerEnter2D(other: Collider2D) {
   
        text.text = "" + textToUse;
        levelload = true;
       
                if(Input.GetKeyDown"e"){
Application.LoadLevel("garage"); // it number or name, string
    }
}

function OnTriggerExit2D(other: Collider2D) {   

          
            text.text = "";
            levelload = false;
}

Hi,

Check couple tutorials first, then you’ll get quick progress:

You need to put Input inside Update loop, TriggerEnter gets called just once you enter it, it doesnt “loop”…

so in an update function

so in an update function