Thanks for your answer @Michael. I think I haven´t been very clear about the experiment. The following structure is an example of a complete trial:
- Stimuli: I present on a 3x3 grid three different letters (i.e. b on square 5, d in square 4 and k in square 1), 1 second each one.
First recall: I show you the same grid asking you which letter was in square 5 with
symbol “?”. correct answer is clicking on the letters presented below the grid (as in
the image above). Correct and valid answer is clicking on letter b.
Second recall: I show you the same grid asking you where was the letter K
previously presented. Correct and valid answer is clicking on square one (as in the
second image above).
Third recall: could be as the first or second but with letter d.
The only valid clicks in First Recall should be the letters. In Second Recall should be the red squares. However, for example in the first recall, click on the image of the grid continues to the Second Recall and this shouldn`t be allowed because the right answer is click on the letters. The same is happening in Second Recall, where clicks on the grid (but outside the red squares) continues to the Third Recall.
So, I know that clicks on the grid are doing anything because it allows to continue to the next recall.
You can ignore the example of the code that I showed here because I really don´t know Python and I thought that I was telling the program the opposite, something like: " if the person clicked in not allowed stimuli, don´t let her continue the routine".