I have one question related to the slider. I want to create a slider with tickmarks going from 0 to 10 (endpoints have labels). Clicking on the slider does not end the routine, because I want the testers to have room to tweak their ratings. I have a TextStim that shows the current value, by using a code component and adding
text.text=slider.markerPos in the
Each Frame box. However, I want this text to show integers ranging from 0 to 100. It seems like the easiest way to get the 0-100 scores while still keeping the 0-10 tickmarks is to make ticks range from 0 to 10, set the granularity to 0.1, and then multiply slider.markerPos by 10 for the TextStim. Is that possible? When I try, I get the error:
text.text = slider.markerPos*10
TypeError: unsupported operand type(s) for *: ‘NoneType’ and ‘int’
I know this can be done with rating scales, but this is for an online study, so it has to be the slider.
Any help would be appreciated!