If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): mac os 15.1
PsychoPy version (e.g. 1.84.x): v2021.2.3
Standard Standalone? (y/n) If not then what?: yes
What are you trying to achieve?: I am trying to make a version of a change blindness experiment where I have pairs of images that are identical except for one change in one of the images in the pair. I have defined 9 regions in the images ( I used polygons to make the regions ), and defined what region has the correct answer in a conditions file. I want them to go in a loop until the participant taps on the correct region of the images ( the region where the change in the images happens ). What I have now are two images that each show up one time, and do therefore not go in a loop. The mouse component also does not work, and makes the experiment end with an error.
What did you try to make it work?: I have tried many things, such as using a mouse component, coding etc. But I do not know how to use the code component as I am just starting to use psychopy, so I may have done it incorrectly.
What specifically went wrong when you tried that?: When I used the mouse component ( end routine on press = valid click, clickable stimuli = corAns ) this came in the runner = “File “/Users/hrafnhildur/Library/CloudStorage/OneDrive-Menntask\xfd/2 \xe1r - haust\xf6nn/Skynjunars\xe1lfr\xe6\xf0i/Lotuverkefni - Psychopy/Lotuverkefni copy_lastrun.py”, line 415, in
if obj.contains(mouse):
AttributeError: ‘str’ object has no attribute ‘contains’”