I need a way to change the value of a variable set in a different scene, without switching to that scene. It’s like the
block, but with scenes instead of sprites.
Why are you trying to do this? The scene isn’t running in the background, so the only time it needs the data, is when you switch to it.
Multiple scenes can’t run at the same time. I have, however, devised a way to store variable values until the scene is switched. Simply use the custom switch scene block instead of the primitive one and import the below script pic in every single scene.
What happens if you stop the project? You will lose all the data
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
