Add a button in the screen

Hi everyone I’m an extreme debutant, my problem is I think extremely simply to resolve. I just want to add a button in the screen and when it’s presses, it can do an action like if we press a letter in the keyboard. But I don’t know how to do, thanks for your help! :slight_smile: