You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steal the focus from another control and become the focused control (see [member focus_mode]).
624
+
If [param hide_focus] is [code]true[/code], the control will not visually show its focused state.
623
625
[b]Note:[/b] Using this method together with [method Callable.call_deferred] makes it more reliable, especially when called inside [method Node._ready].
Returns [code]true[/code] if this is the current focused control. See [member focus_mode].
633
+
If [param ignore_hidden_focus] is [code]true[/code], controls that have its focus hidden will always return [code]false[/code]. Hidden focus happens automatically when controls gain focus via mouse input, or manually with [method grab_focus] with [code]hide_focus[/code] set to [code]true[/code].
0 commit comments