Does this link help?
What exactly is going wrong. If the trial isn’t ending when the movie is paused you could add if t> 5: continueRoutine = False
Does this link help?
What exactly is going wrong. If the trial isn’t ending when the movie is paused you could add if t> 5: continueRoutine = False