Image Component Start Condition

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2020.2.10
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?:
I would like one of two images to appear after a participant’s response; a smiley face for a correct answer and a frown face for an incorrect answer.

What did you try to make it work?:

I have tried a few different strings in the ‘start’ box for condition, but none appear correctly when the code is run. The image below is from the Smile/Frown image conditions.

image

I am stuck on what to write in the ‘start’ box so that the code will know to pick one of two images based on a participant’s response.

Any help is greatly appreciated!
Thank you

Split the task across two routines, with the keyboard component set to force the end of the first routine. The smile and frown stimuli can then simply be at time 0 on the second routine. In their start fields, put something like:

prac_resp.corr 

and:

not prac_resp.corr

for the correct and incorrect feedback respectively.