Saving Variables

Saving Variables

Variables are used to store information and they exist in almost all projects. The Create Variable shows the following window:

You can check the file that stores the variables from Corona Simulator > File > Show Project Sandbox

the file contains the json table. To initiate the saving, a new value should be set to the variable. For instance, set variable with button/action.


Dynamic Text with Variable

make sure the variable should be defined as Before layers are rendered.

Please check external code & lib and keyboard tutorial too

If successfully configured, after saving the variable, reopening the app will show up with the saved value.