Hi everyone,
I’m trying to make the opacity of a button in PsychoPy dependent on whether a rating has been made via a slider. Specifically:
-
If the participant has not rated yet, the button should be invisible.
-
Once the participant has rated, the button should become visible.
This works perfectly in PsychoPy Builder (desktop), but as soon as I run the experiment online via Pavlovia, the button remains visible regardless of the slider input.
I’ve attached screenshots showing:
-
The slider and button settings in Builder.
-
The code snippet I’m using to control button visibility.
Can anyone help me understand why this works locally but not online, and suggest a fix that works in Pavlovia?
Thanks in advance!
BUTTON.CODE:

