Button Error on Pavlovia - TypeError: Cannot set property numClicks of [object Object] which has only a getter

OS (e.g. Win10): OS Monterey 12.3.1
PsychoPy version (e.g. 1.84.x): 2022.2.1

What are you trying to achieve?:

On my experiment, I want to use a clickable button to end one of my routines.

What did you try to make it work?:

The button works on the builder, but when I try to use it on Pavlovia, it leads to the following error: * TypeError: Cannot set property numClicks of [object Object] which has only a getter

What specifically went wrong when you tried that?:
See above. I have tried removing the button and the experiment works without it, but I would like the participant to confirm when they are ready to finish the routine by clicking something.

Buttons don’t work well online yet. I’d recommend either an image or text in front of a polygon.

1 Like