OS (e.g. Win10):
PsychoPy version 2021.2.3
Standard Standalone? (y/n) Yes
What are you trying to achieve?:
I want to require participants to click on the slider and then press the spacebar to move to the next trial.
What did you try to make it work?:
I’ve set a custom code component under each frame:
if slider.getRT() != "None" and key_resp.keys == 'space': continueRoutine = False
The key_resp is not set to force end of routine, but pressing space will move to the next screen without clicking on the slider. I’ve tried a few combinations to get slider data (getRating(), using >) but I’m only getting the end of routine on space press only. It should be a simple enough bit of code, but I’m clearly missing something.