psychopy.org | Reference | Downloads | Github

RT data not stored for mouse click

OS: Win10
PsychoPy version v1.90.2
Standard Standalone? (y/n) Y

Apologies in advance I am extremely new to using PsychoPy so any assistance is greatly appreciated

What are you trying to achieve?:
I am trying to create a simple visual search experiment where participants are presented with a visual scene consisting of a number of green triangles (distractors) and one red triangle (target). The participant will search the array and use the mouse to click on the target triangle. If the target is not present the participant will press the space bar instead. In this particular issue I am trying to record the reaction time data for the mouse click

What specifically went wrong when you tried that?:
The data set only seems to be recording data for the space bar button press. Am i missing the inclusion of a parameter so that PsychoPy knows to record the RT for the mouse click also?

Full code attached
VisSearch.py (23.9 KB)

We can’t easily tell by reading the very verbose Python script that Builder generates: it is better to attach an actual Builder .psyexp file if required. But much more preferable would be including screen shots of your Builder mouse component dialog box and any other relevant info. People can respond much more easily and rapidly directly to your post if they don’t have to download and inspect files.

Hi Michael,

Thanks for the feedback. Apologies for not attaching the screen shot in the first instance. Screenshot of the mouse builder now attached

This indeed isn’t perhaps as intuitive as it could be, but you should select “on click” as the option for when to “save mouse state”.

Does the trick. I really appreciate your help with this Michael. Thanks