OS (e.g. Win10): Windows 10
PsychoPy version (e.g. 1.84.x): 1.84.1
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?:
I’m trying to make an image of a check mark appear whenever the participant clicks on either the left or right mouse button, without having the “End Routine on press” box checked.
What did you try to make it work?:
I added a Code Component in which I typed under the “Begin Routine” tab:
What specifically went wrong when you tried that?:
This works exactly the way I want to, but only when I have the “End Routine on press” option enabled. The check mark shows up whenever I click the left or right mouse button after the stimulus disappears, after which Psychopy immediately starts the next trial. For my experiment, however, I want to give participants time to prepare for the next trial. This is why I gave the participants 5 seconds to respond. The problem with this is that participants might click multiple times if they think their click was not registered properly, which would influence the data output of the experiment, hence the idea of adding the check mark to acknowledge their response.
The rest of the routine and the data output work as intended. I was wondering if there was an easy solution to giving visual feedback in response to a mouse click without ending the routine.
Many thanks in advance!