Panel Keyboard input

I have a “controlpanel” vgui element with several controls on it that come with several text fields. How would I make it so that clicking those text fields allows me to enter text in those? Currently the keyboard inputs still go to the player movement/weapon selection.


**[Panel.SetKeyboardInputEnabled](** on the main panel doesn’t seem to help.

Have you tried **[Panel.RequestFocus](** in conjunction with OnMousePressed?