The issue is regarding the same experiment. Now I am trying to run the same experiment using a touchscreen laptop. The outline of the experiment is the same. The target screen will have a target picture (Red Bear, Blue Bear, Red Car, Blue Car) at the center and four response options (Red color patch, Blue color patch, Bear drawing, Car drawing) below the target. Based on the given cue, the participant (in my case children) will have to respond by touching the appropriate response picture on the screen.
With the help of the discourse earlier: Using the mouse for selecting images I tried to write a code as follows:
and the mouse component as follows:
After this, in my data file I am not getting which picture has been clicked. Since, there are correct and incorrect responses, I wanted to have a column as before which stated whether the answer was correct or not by giving ‘1’ or ‘0’ in the column. This also is not shown in the data file.
I also wanted to provide feedback to the participant by highlighting the selected picture in either red or green color, based on whether the response was correct.
Please help me solving this issue.
Thank You