We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f908cdc commit 92186d7Copy full SHA for 92186d7
tutorials/scripting/gdscript/gdscript_basics.rst
@@ -2866,6 +2866,14 @@ This also means that returning a signal from a function that isn't a coroutine w
2866
With this type safety in place, a function cannot say that it returns an ``int`` while it actually returns a function state object
2867
during runtime.
2868
2869
+You can store the arguments passed to the signal's parameters in an ``Array``-type variable:
2870
+
2871
+::
2872
2873
+ func process_response():
2874
+ var signal_args := await $HTTPRequest.request_completed as Array
2875
+ print("Response arguments: " + ", ".join(signal_args))
2876
2877
Assert keyword
2878
--------------
2879
0 commit comments