How does this work: psychoJS.experiment.addData()


This is probably a really simple question, but I’m wondering how this: psychoJS.experiment.addData( “X”, “X”) works? what exactly goes in the “X” spots.

Currently, I am trying to modify a task to give the output of the order that objects were dragged and dropped (the output currently gives what was dragged and where but NOT when- which I am trying to figure out). Should I add an output with the above code or do I change the mouse settings?


The first X is the data column header.

The second X is the value you are saving, and therefore usually isn’t in quotes.