I’m new to Psychopy and I want to create a slider component such that the marker is moving only if the subject pressing on it.
if the subject press on the slider but not on the marker I do not want the marker to be able to move.
I looked in this link - Is it possible to make a slider object only interactable by dragging the marker?
but when I copied the DragOnly function (place it in the “Before Experiment” in the code component) and tried to activate it on my slider component it didn’t work.
please let me know if I did something wrong or I just miss understood the DragOnly function.