I am looking for some help with the code element of my experiment. Perhaps someone can help.
I am designing an experiment in the Builder where in each trial participants will be presented with 3 images at a time & need to place each one of these images in a designated space (there are 3 spaces i.e. polygons).
Participants aren’t permitted to progress onto the next trial unless the 3 images have been placed correctly.
I’ve implemented the drag & drop design (Drag & Drop Stimuli) which allows me to drag the images & place them anywhere I want at the moment & without restrictions. What I am missing is a condition (presuming in the ‘End routine’ tab of my code element) which specifies that unless the images have been placed in the correct spot the next trial won’t begin. I have a condition file from which images are randomly selected. I have also included a column per image (image1corPos, image1corPos, image3corPos) which specifies its designated position (corresponds with the 3 polygons).
I have read numerous posts but was unable to find a suitable line of code. Solutions which I have come across all specify the position of the mouse as a prompt to begin the next trial. I can’t see how that would work here since I have 3 images which need to be placed in the exact location before the next trial can commence. But again I have no coding experience.
Any help/suggestions would be appreciated.