⚠ Preview docs — built from the develop branch and may be unstable. Go to the stable docs.

UI.HasKeyboardFocus

static bool HasKeyboardFocus{ get }

Description

Is a UI.Input currently focused and taking keyboard input? A focused Input reads the whole keyboard event queue, so this is how you tell whether your own keyboard handling should stand down for the frame.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!