Slider Callback

Hi, I am just wondering if there is any way to build into the given slider a callback function which can show participants the exact value they have selected?

I have tried using slider.getRating() simply as text but does not seem to return anything.

Many thanks,


I use code in Each Frame of the form:

if confidence_slider.getRating() != oldRating:
    oldRating = int(confidence_slider.getRating())

Thank you for the response, what do you mean by Each Frame sorry?

I am really new to python and trying to just use the builder but I need participants to be able to confirm the places on the slider numerically.

I came up with a cheap solution:

new text component in the text box $slider.getRating() and set to every frame.

Yes, that would work too.

Sorry, spend most of my time thinking about what works online.