OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 2.6
Standard Standalone? (y/n) If not then what?: Yes
What are you trying to achieve?:
Hey, guys! Once again asking for you help. I made a task that requires the participant to press ‘1’, ‘2’, ‘3’ or ‘4’ to answer the question and it works fine. Any of those answers will finish the routine, but only one is correct and is stored in a variable. But i believe that if i made 4 “buttons”, one for each number (1, 2, 3 and 4) for the participant to click, it would be much better. I want something that looks like this:
But what i need to know is how to convert the one i’m using right now (keyboard press) into this.
What did you try to make it work?:
I tried making an image for each number, like the ones above. Then i used the image tool on psychopy to try and load the images.
Thing is, i already had an image for my stimulus on the same routine and it looks like i can’t load another one, since the program closes as soon as it opens when i try to run it.
Then i tried another approach, but without the button images. I used the text tool and simply wrote ‘1’ as the text. It worked, the ‘1’ shows up on the screen, but when i made another text, i didn’t load (same problem as before).
So this is the urgent topic, to make the buttons appear on the screen, but after that i need to make sure the program not only reads the right answer variable, but saves the participant’s response.
To the best of my knowledge, i need to use the “mouse” response to do this, but i don’t know how to tell the program “between these 4 images, if the stimulus is X, then the correct answer is the second image from left to right, but the participant can click on any of them to finish the routine”
Please help me and thank you in advance! If you need any more info, please let me know!