Is it possible to record the distance between stimuli and where participant clicked?
I've already posted this question on MouseTracking forum but I have a feeling my problem may be solved with a simple solution than the complex MouseTracking plug-in. (I tried to take down my question in the other forum but I am not sure how. Please feel free to instruct on that too, haha).
Anyhow, I am trying to build a relative size judgement task where participants will be asked to estimate the height of the goalkeeper (example image attached).https://forum.cogsci.nl/uploads/005/YRQD9KPL8XC3.png
Participants will be asked to click on the pole where they believe the goalkeeper's height would be relative to the soccer ball. With classic mouse function, it records the coordinate (x,y) relative to the whole screen rather than the distance from the bottom bar to the point they clicked. If the bar stayed in that position, I can simply calculate the distance by subtraction clicked-coordinate and position of the bar. However, I am planning to change the position of the pole for each trial.
If anyone knows how I can record distance between a fixed point (i.e., bottom bar) that changes every trial and where the participant clicked, I would greatly appreciate your help.
Thank you very much for your time.