Returns the frame currently handling keyboard input. Typically an EditBox
See also Keyboard functions, Utility functions.
frame- Frame currently handling keyboard input, or nil if no frame is currently focused (
# put this in a macro and try running it (from an action bar or somesuch) # while typing in different text boxes /run frame = GetCurrentKeyBoardFocus () print(frame and frame:GetName() or "no focus")