Drag & drop end trial subject to specific condition

Hi,

  • You might want to look at this thread, because this sort of code can fail if the subject moves the mouse quite quickly:
  • You will need to implement some sort of “snap to grid” feature, as you can’t rely on the subject being able to exactly drop the stimulus in the precise location you need in order to be able to check in code if it is in the correct place:
  • Lastly, it is best to share your code by pasting in the text rather than using screenshots. From a screenshot, a person can’t make small modifications to your code without typing it all out from scratch.