[open] Global variable
Hi there, I'm a bit of a noob with Opensesame so this question might sound totally ridiculous.
So, I need to define a variable which can be used by multiple items (sketch pad, keyboard response, logger, etc.). I know such a variable can be defined with exp.set via inline script, the problem is that I don't know how to change the value of the variable during the experiment.
For example, I want the variable value to change depending on the keyboard response, and then for the sketch pad to use that value in displaying new stimuli.
So in short, I need a variable which can be used and changed by any item.