If your four image components are called image_A, image_B, image_C and image_D then add a mouse component with clickable stimuli image_A, image_B, image_C, image_D and then look at the value of mouse.clicked_name (or possibly mouse.clicked_name[0]) in End Routine.
See also
currently trying to make the iowa gambling task in PsychoPy v. 2022.2.5. i have got to a point where i have my introduction screen, instructions and 4 cards that respond individually to clicks, but i have now got stuck. i have the file that gives values to each card but just need help assigning these values to the cards, generating a counter of winnings as you go along and a demographics form. i have assigned the file to the loop but have now ended up lost.
thanks! (attached screenshots of my s…
Hello! I’m new to both PsychoPy and programming and I’m trying to figure out how it works. I need to run an experiment online for the Iowa Gambling Task and I have found two links (1 | 2 ) on Pavlovia with the code but I’m not sure how to run it on PsychoPy.
I know this is super beginner level but could someone direct me to a resource that could help me out or let me know which file would be appropriate to use?
OS (Win10):
PsychoPy version (1.84.2):
Standard Standalone? y:
What are you trying to achieve?:
Apologies for the rather vague title but I cannot describe it otherwise.
I am trying to computerise the Iowa Gambling Task .If you imagine that you are a participant and you have 4 decks of cards (e.g. Decks A-D) in front of you, if you choose the top card from Deck A, the top cards from Decks B, C, D are not removed. Psychopy, however, removes the whole row in a conditions file (at least in the w…