I'm trying to make a game in which the player can type text into a textbox. They can also move around with the arrow keys.
So far I've got it so that when an arrow key is pressed, the textbox is set to unfocused. Is there a way to have an event that functionally does the opposite: When any key except the arrow keys is pressed, it focuses on the textbox.