If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): MacOS Monterey 12.5
PsychoPy version (e.g. 1.84.x): 2021.2.3
What are you trying to achieve?:
I’m using @wakecarter 's Affect Grid to collect continuous ratings while a video is playing. I’m hoping to have the video begin once participants have clicked within the grid, so they can get their bearings on where in the grid they are located (I would prefer if they could begin at the origin but realize this isn’t possible since it isn’t an open square in the center). I’m pretty new to PsychoPy and Python so I apologize that this is a pretty basic question!
What did you try to make it work?:
Created a mouse component named mouse_Ready, have been trying to change the video stimuli to begin conditionally with mouse_Ready.isPressedIn(x) but am not sure what to put in for ‘x’. I’ve tried “grid,” but since the grid is a code component I’m not sure what to put. Would it be just the coordinates of a general area of the grid?
What specifically went wrong when you tried that?:
“…exp_lastrun.py”, line 785, in
if movies.status == NOT_STARTED and mouse_Ready.isPressedIn(grid):
File “/Applications/PsychoPy.app/Contents/Resources/lib/python3.6/psychopy/event.py”, line 882, in isPressedIn
return any(wanted & pressed) and shape.contains(self)
AttributeError: ‘list’ object has no attribute ‘contains’
Thank you for any help you can provide!!