- Exp background
Participants’ task: use mouse to click 1 out of 4 pictures;
Exp’s task: compare the selected picture with the target in condition file
–correct coded as 1,
–incorrect coded as 0.
- Offline PsycoPy–able to run
I wrote the code in the builder’s view, and it succeeded in generating correct response=1, incorrect response=0;
[“correctAcc2” is pre-specified in condition file]
[“clicked” and “score” are newly generated columns according to “thisExp.addData(‘clicked’, imageTestX)”, and “thisExp.addData(‘score’, int(correctAcc2==imageTestX”]
- Online Pavlivia–unable to run
After transerring the exp in builder’s view onto Pavlovia, I met the following error:
“TypeError:mouse_record. isPressedIn is not a function”
[mouse_record is the name of that mouse property]
Thank you for reading my question. Appreciate your answer and help.