I am building an experiment in which participants are shown a string of letters, and are later shown 12 letters and are asked to click on boxes to recall the string in the correct order. Here is a picture of that screen, which I built entirely in Builder view:
I am currently trying to make it so that when participants click on a box beside a letter, the position of the letter selected will pop up in the box. For example, if a subject means to select F as the first letter in the sequence, I want a 1 to appear in the box next to F (and so on for 2nd and 3rd positions).
I don’t want the routine to end until the participant clicks the Exit button in the bottom right corner. The Clear and Blank buttons are other options the participant can select to make their response, but are complicated in their own right and would be better saved for a different post. For now I am only focusing on the array of letters.
I was looking at other posts and came across this one: https://discourse.psychopy.org/t/give-visual-feedback-based-on-response-without-ending-trial/4736 I think that I need to add some kind of counter in order to track the number of clicks made and set that as my text similar to this example, but I only want the counted clicks to include clicks made on the boxes next to the letters.
I realize that this is a somewhat complicated design and likely won’t be solved in a single thread, but any advice on how I can tackle this problem would be greatly appreciated! Thanks!