| Reference | Downloads | Github

Does Slider Class Has a Confirm Button Function?

When using the slider class, I found it does not have a confirm button function like the ratingScale class, and I didn’t find relevant attributes in the documentation. Is this a default function I failed to find or some kinds of function I have to customize myself?

@Spenserark_Bottest, no confirm button exists for the Slider component, but you can make your own very easily. E.g., add a polygon called “polygon”, position it correctly etc and add a code component using the following to check for ratings, and then whether the polygon button has been pushed:

if slider.getRating() and mouse.isPressedIn(polygon):
    continueRoutine = False
1 Like