how to queue function calls?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By stevepetoskey

So I have multiple instances that call upon a single function all at once. Normally this wouldn’t be a problem because godot can handle that, yet this function I use depends on it to finish before it gets called again. Any ideas on how to do this? Thanks.

:bust_in_silhouette: Reply From: rakkarage

you can yield for any function to “completed”

yield(finishThisFirst(), "completed")

this talks about yield completed:

can also connect to the completed signal and call another function

rakkarage | 2020-08-26 01:51