| Reference | Downloads | Github

Webgazer - can't move the feedback box position

URL of experiment: Sign in · GitLab

Description of the problem:
I’m using Webgazer to measure participants’ eye movements.
I have moved the webcam to the top centre of the screen by setting the “leftDist” variable on line 88231 of file “” to

leftDist = ((window.screen.width / 2)-(src_webgazer.params.videoViewerWidth/2)) + 'px';

I now want to move the feedback box to that same position.

I have tried adding the following lines of code: = topDist; = leftDist;

to lines 88283 and 88284.

However, this doesn’t work, see image below.

What do I need to do here?

Thank you in advance!

So, I had to edit line 88643 with the above code.

1 Like