How to keep a machine running after switching scenes?

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

I have a scene where I can place machines that keep running a process that constantly changes their attributes.

These machines have a position and a sprite in one scene, but need to keep running even if I change the scene.

I’m having trouble managing all the scene changing, saving and loading resources.
Is there a best practice for this case? What is your suggestion?

Thanks in advance.