Environment and World

The World and Environment variables

The World Object

The World is an object were all the variables created and used are stored for the duration of the script. The world can be cleared manually if you need. If a script runs twice most of the variables created will be overwritten however you can create your script to take advantage of this.

Environment Variables

The Environment refers to the environment variables. These can be added in settings.

It is highly recommend to prefix your variable with ENV_ this prevents other variables in the script from overwriting your ENV variables

To create an environment variable to you need to add the variable name e.g ENV_TEST add a description and then give it a value. When the script runs the name of the variable will contain the value you added.

The ENV is added to the world before the scripts run so you have access to them from the first block and even within the builder elements.

Last updated