Hi everyone! New builder user here so apologizes if this is a simple question. I’m currently working on a task in which participants are asked to “win” certain rewards. The idea is that a particular image will pop up on the screen at random times and participants will press the space bar to collect the “reward”. We are interested in participants reaction time in collecting the reward, which is why I do not want to program the image to disappear on it’s own, and instead I want the image to disappear by them pressing the space bar. Additionally I would like to inform participants that they have won the reward by having “won” in text appear on top of the reward.
I tried creating a reward offset column in excel as following but I was received with an error message (I’m assuming because Psychopy was looking for an actual number for the offset time)
My two main questions are as follows
- How do I get an image to disappear by pressing the space bar?
- how do I have text appear every time a participant presses the space bar?
Thanks for your help!