## Record multiple click position coordinates

##### Record multiple click position coordinates
 Author Message mrg4 posted 10 Years Ago ANSWER Group: Forum Members Posts: 19, Visits: 218 Is it possible to record multiple clicks on a single picture, together with the x and y position coordinates for each time?In my task the participant has to spot one or more changes in a picture. After presenting the second picture, he is supposed to click on the respective area.I already searched for a solution and found a similar problem here (http://www.millisecond.com/forums/Topic939.aspx?Keywords=record-click-position-coordinates) but I can't transfer the solution to my problem.I hope someone is able to help me.Thanks,Dominik Dave posted 10 Years Ago ANSWER Group: Administrators Posts: 12K, Visits: 97K Yes, that's perfectly possible:/ x = 0/ y = 0/ trials = [1-2=firstpicture]/ stimulusframes = [1=firstpic]/ trialduration = 1000/ branch = [trial.secondpicture]/ ontrialend = [if (trial.secondpicture.response != "done") {values.x = trial.secondpicture.responsex; values.y = trial.secondpicture.responsey}]/ stimulusframes = [1=secondpic, done, coordinates]/ inputdevice = mouse/ validresponse = (secondpic, done)/ branch = [if (trial.secondpicture.response != "done") trial.secondpicture]/ items = ("A1.jpg", "B1.jpg")/ size = (50%,50%)/ txbgcolor = (green)/ items = ("A2.jpg", "B2.jpg")/ select = current(firstpic)/ size = (50%,50%)/ txbgcolor = (blue)/ erase = false/ items = ("DONE")/ position = (50%, 90%)/ erase = false/ items = ("<%values.x%>, <%values.y%>")/ position = (50%, 10%)/ erase = false/ columns = [date time subject blocknum blockcode trialnum trialcode stimulusnumber stimulusitem response latency values.x values.y] mrg4 posted 10 Years Ago ANSWER Group: Forum Members Posts: 19, Visits: 218 Thank you so much! It's working perfectly fine!Regards,Dominik

#### Merge Selected

Merge into selected topic...

Merge into merge target...

Merge into a specific topic ID...