Cedrus Box interact with Slider

You might be interested in seeing whether your code works with my interactive slider demo (see PsychoPy Online Demos).

Also, I would change continue to pass (because I don’t know what continue does – maybe it’s the same) and replace the next line with elif so you don’t evaluate it if the key is passed.

                if evt['key'] not in [0, 1]:
                    pass  # we don't care about this key
                elif evt['pressed']: #only check pressed if 0 or 1

Can you update a text box with the number of frames a key has been held down for, or does it only register the keydown action?