If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): Mac Catalina 10.15.1
PsychoPy version (e.g. 1.84.x): v2020.1.2
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?: Force end of routine with two variables in a component
What did you try to make it work?:
I’m using the builder for a posner-like task.
There are two variables for the target component. Position of the target (left or right)
Size of the target (small or large).
The purpose of the experiment is for the participant to say whether the target was large or small by key pressing the ‘up’ or ‘down’ arrows. When the participant presses a key the routine should end.
What specifically went wrong when you tried that?:
When I set the target position as a variable. the routine ended upon a key press.
But when I tried to add the target as a variable, the didn’t end upon a key press.
Note that the images are showing up fine (both the size and location show up randomly as variables), it’s just that the routine won’t terminate upon the keypress.