In case anyone else encountered this problem. You have to edit your function and check the "has return value" box. Then your return will work. After this you have to use "Call Function" again and now you have a new field for saving results.
Call function not returning to main thread after finishing
-
@samlol said in Call function not returning to main thread after finishing:
as the title says I call a function in my script but once that function is completed the script doesn't go back to the main thread instead it just stops. I think this might be a bug or does someone know why this would be happening?
Most likely you switch between functions using labels
Test script