Mention that grab_focus is more reliable deferred

This commit is contained in:
kobewi
2022-04-04 01:24:01 +02:00
parent 0bf3f79157
commit 188d5593e1
2 changed files with 5 additions and 0 deletions

View File

@@ -75,6 +75,10 @@
<return type="void" />
<description>
Calls the method represented by this [Callable] in deferred mode, i.e. during the idle frame. Arguments can be passed and should match the method's signature.
[codeblock]
func _ready():
grab_focus.call_deferred()
[/codeblock]
</description>
</method>
<method name="get_method" qualifiers="const">