text object

hi this time my question is very ez :
i want to change the text with pressing e like those games(undertale distraint or … ) that u can change the text with pressing one key and after that text will disspear i used under code(srry for bad english and ty for ur answers)
e key press ===> do="…" to the txt text
lol i just knew till here :smiley: :smiley: :smiley:
i dont want to text effects be like those game i just want to text apears one after one by pressing e