How to make a gui button be able to get pressed by assigning hotkeys?

Hi i have read some of the different topics and searched and read many posts even closely related to what i am looking for. I am trying to understand how you would go about making a custom Gui button be able to get pressed when a key such as 1,2,3 etc is pressed. I am trying to get a understanding of how it works and such but have read in one article that you cannot call to a Gui button as its destroyed and redrawn each time?

You dont assign a hot key to a GUI button.

You simply read the key and do the same action you would if the GUI button was pressed
If you read the key as an axis it can be reassigned by the user.

See: