psychopy.org | Reference | Downloads | Github

Remove Slider Marker?


#1

Is there a way to remove the marker on the slider component?
When my subjects click on the slider scale I don’t want a big red dot or triangle to appear, I just want to record their answer and advance to the next trial.

Basically I need to know how to create my own slider style (i.e. no marker) but I have very little python experience.


#2

Yes @oswald, you could change the opacity of the marker, so it is invisible. In a code component, add the following to the “Begin Routine” tab - the following assumes your slider is called “slider”:

slider.marker.opacity = 0

#3

Thanks it worked!