| Reference | Downloads | Github

Replicate ratingScale acceptResponse function

I have two rating scales in a routine, and I need to force the participant to respond to both before moving forward. In custom code I tried

if not len(myscale.getHistory) > 1:

but that makes the scales behave weirdly. I tried making my own button with the code:


instead and that records the scale position but not the RT!
What am I missing, please! How do I replicate the function of the scale’s accept button using my own button?