OS (e.g. Win10):
PsychoPy version (e.g. 1.84.x): 2021.1.4
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?: I am building a lexical decision task. Participants have to decide if the word they see on the screen is an animal or not by pressing the left or right key in a limited time. In the practice trials, I need feedback only when the participants have the good answer (press the correct key), anything else (wrong answer or no answer) has to have no feedback.
What did you try to make it work?: I have tried this code and I tried writing it in different orders (i.e correct key first, then no key pressed …):
I have
msg=''
in the Begin Experiment section.
What specifically went wrong when you tried that?: When the participants don’t answer in the time given, the feedback is the same as the previous trial (i.e 1st trial the participant has the good answer and has a positive feedback, 2nd trial the participant doesn’t press any key and still has a positive feedback even if it is not the correct answer). When they don’t press the correct key, no feedback is given and the next trial starts.
I do not have any error message.
Thank you for your help!!