I have two routines that each contain their own code component:
During my welcome screen, I create a variable ‘Block’ which is determined by generating a random number:
What I am trying to do is only run one of the code routines (‘negCode’ or ‘posCode’) conditionally based on which group is assigned at the beginning of the experiment:
I’ve tried using ‘continueRoutine = False’ to conditionally run one of the two, in both Begin Routine and Each Frame, but that doesn’t do anything.
Hoping someone has a suggestion for a possible solution. Please let me know if you need more information.