Have set a global variable (boolean) in a JScript script, is it possible to use that variable with @toggle
in a button.
This is not working
@toggle:if $glob:global_variable
Have set a global variable (boolean) in a JScript script, is it possible to use that variable with @toggle
in a button.
This is not working
@toggle:if $glob:global_variable
That should work, but you also need to do something extra in the thing(s) that modify the variable.
It's explained in the docs on @toggle. Command modifier reference [Directory Opus Manual]