I found this topic recently and I've been having trouble pausing and resuming my script when I change states inside the script.
I need the script to pause so I can have mouse input to select the nodes that must be gathered and resumed when entering gathering state.
The script pauses, but I'm not being able to resume it so it starts gathering and running again.
Anyone knows why it does not resume?