How to Select a Focus Control?

How would I select a focused control?

I have figured out how to switch the focus of buttons on my Main Menu, yet I have no clue on how to select that button’s actions when the enter key is pressed?

I wish i can show you code, theres just a billion lines of it…

basically, I need to turn the focused GUI button true.

Are you switching focus by hitting a keyboard button? i.e. tab?