URL of experiment:
Description of the problem:
I have a question and I’m stuck since a few days, because none of the solutions I tried worked. I hope you can help
I have a rating scale that works great offline. As soon as it is uploaded online, the marker is not visible anymore until clicking on the scale with the mouse. Once clicked on it, everything works fine again.
Is there any way to make the marker visible before the mouse is clicked? This would be important because the mouse should not be used by the participants during the rest of the experiment.
I use PsychoPy v2021.2.3 and have taken a simple slider with style “rating” (Ticks from 1 to 9, granularity = 1, starting value = 2) and triangleMarker (default/circle does not work either).
To move the marker along the scale by the left and right arrow buttons I use the following short code (and it works offline and online after clicking with the mouse on the scale):
keys = event.getKeys()
if ‘left’ in keys:
rating_1.markerPos = rating_1.markerPos - 1
elif ‘right’ in keys:
rating_1.markerPos = rating_1.markerPos + 1
Thank you in advance.