I am trying to replace a variable “face” with a new image on each trial. The image filenames are in a list called “faces”.
Everything runs fine in the Builder. Things crash online with the error “ReferenceError: faces is not defined”. I believe it’s something to do with defining a variable in the “Begin Experiment” tab as opposed to the “Begin Routine.” I’m unsure what I should do.
Thanks in advance.