Retrieve image filename when mouse clicked using psychopy online

Hi, I’m trying to implement an experiment in which there are multiple objects on the screen (e.g. image_a, image_b,… until image_h) and the subject has to select with the mouse the correct one. Now in my log I have the pressed image (e.g. image_a). Given that the image_a is different in each trial, I would need the name of the displayed image as displayed on the csv file. is there a way to retrieve this information and also apply this for online experiments?

Hi There,

In your mouse click component add ‘image’ to the list of stored params (default is just ‘name’).

Hope this helps, :slight_smile: