Add location on xlsx file

Hi everyone,
I create a categorisation task on PsychoPy. Each verb appear in a random order, and can be at the top or bottom of the screen in a random way.
But the location is not written in the output file, is there any code i can insert to have this location in my file ?

Thank you for your answers !

Hello,

how do you determine that a verb appears at the bottom or the top of the screen? If you use some code to do this, you have to explicitly store the value of the position, e.g.

thisExp.addData('position', position)

Cheers Jens

1 Like

Hi !

The location of the verb is determine with a code :
image
image

And finally, i found a solution :
categorisation.addData('position',currentLoc)
and categorisation is the name of my Loop

Thanks for your answers !
Ilona