OS: Mac OSX
PsychoPy version: v3.0.0b11
Standard Standalone? (y/n) Y
Hi – I’m new to PsychoPy and I could use some guidance!
I am trying to put together a task where participants see a cue word on screen for 60 seconds. While the word is onscreen, participants will type in words as many related words as they can think of, in a fixed amount of time. Ideally, after typing out each word, they can press enter, and the word would disappear off screen, leaving a blank screen so they can continue to type in new words. As I mentioned before, they would have 60 seconds to do this, after which point the next cue word appears. Participants would then have 60s to come up with words related to the new cue word, and so on.
I used the code here to create an experiment where participants see my list of cue words and are able to freely type text in response to each word. However, I cannot figure out how to write the code to specify that pressing enter clears the screen and saves the response while still remaining on a given cue word until the 60s elapse. Currently, as I have it set up, participants can only type in one response to a given cue word, and because once they press enter, the loop ends and the next cue word appears.
Any help on this front would be really helpful! And if I am lacking any needed specificity, please let me know!
Here’s the code for the compiled experiment, as I have it so far:
FreeAssociation_Task_Scratch.py (19.4 KB)