Garry's Mod Wiki

vgui.GetKeyboardFocus

  Panel vgui.GetKeyboardFocus()

Description

Returns the panel which is currently receiving keyboard input.

Returns

1 Panel
The panel with keyboard focus