Rating scale records response without click or key press

I am trying to create a rating scale that takes the position of the marker as the input at set time intervals in my experiment. I don’t want participants to have to click, but rather just move the marker and then after some time the rating is recorded. How would this be possible?