MovieStim2 – wait to play movie until key is pressed

I am using MovieStim2 to present videos and was wondering if there is a way to start the video when a particular key ‘=’ is pressed. Currently, the video plays automatically when the code is run. Thinking something like a while loop might work, but unsure if there is something built into MovieStim or psychopy that would be more efficient. Thanks so much!

Hi There,

Is there a reason you can’t just use event.waitKeys() to make your experiment wait until a key is pressed before moving onto your movie code?

Thanks,
Becca