Hi everyone. I apologize for this painfully simple question but I just can’t seem to figure this out.
I want to continue a routine with spacebar after checking that participant has given a slider response. (This is to hopefully fix slider issues when hosting online).
Here is some code I tried:
keys = event.getKeys if 'space' in keys: if slider_5.getRating() is not None: continueRoutine = False
But I get the error "TypeError argument of type ‘function’ is not iterable
Is there a better way to write this code?
I would preferably like to do this without having to add a keyboard component in builder over and over again. Is this possible?
Thank you for any help.