Global Variable


#1

1) Give a description of the problem
I am trying to use a global variable in one piston to create a true/false scenario which can then be used in a separate piston to perform an action.

2) What is the expected behavior?
Have a globally defined variable perform/not perform certain action in another piston.

3) What is happening/not happening?
The piston that defines the global variable is still appearing as a local variable, even when defined with @ in the front. I am not sure if I am simply messing up the definition of the global variable (First time attempting to use one). Additionally, when @ is placed in the front of the variable it appears as _(Variablename) in the piston.

4) Post a Green Snapshot of the pistonimage


#2

Define global variables on the upper right hand pane while editing a piston.

image


Cannot set Global variable to experssion
#3

Thanks, did not see that option. That should get it working!


#4

who ever owns the wiki should add this under global variables

https://wiki.webcore.co/Variable#Global_Variables