I'm attempting to collect/track mouse position on a particular image on a slide. I want the position to be collected often, every 200ms or so, but NOT contingent upon a click: just continuously tracked coordinates as the participant moves the mouse cursor. I'm using the following in-line code before my slide named "Test:"
Dim thePoint As Point
While Clock.ReadMillisec < Test.OnsetTime + Test.Duration
Debug.Print "Mouse is at location: " & thePoint.x & " " & thePoint.y
The code is designed to print the coordinates in the "debug" tab, but I can't get that to work: they're not being printed anywhere. I'd prefer it in the .edat output files or a .txt file, but can't seem to get any modifications to print the position.
Can anyone tell me what I'm missing?
Please sign in to leave a comment.