|This article or section documents something not included in the current version of Scratch (3.0). It is only useful from a historical perspective.|
In Scratch 1.x, variables that are hidden when the project is shared lose their locations. The cure is to make sure that all variables are visible and in the correct location when the project is shared, then have a green flag script hide the ones that need to be hidden when the project starts up.
The script looks like this:
when gf clicked show variable [variable v] wait (0.01) secs hide variable [variable v]
The Wiki is working on a dark theme, and you're seeing it! Got feedback? Post on the Wiki Forum Topic.