Space bar response

OS (e.g. Win10): macOS Monterey (version 12.6.2)
PsychoPy version (e.g. 1.84.x): version 2021.2.3
What are you trying to achieve?: Participants will watch a video and respond with a space bar key. When they press the space bar key I would like a text box to appear so they can type in it. How would I go about setting this up?

Are you pausing the video the moment the participant presses the spacebar?
Do you want the textbox to hide the video?
Can you please give an example/describe the flow?


Hi Chen,

Yes, I would like to pause the video when the participant presses the spacebar and I would also like the textbox to hide the video.

The idea is the participant would watch a video and press the spacebar when they note a change and they would then type in the textbox, what this change is.

Thanks for your help!