I’m trying to design a go/no-go task (SART). Right now I have a number (1-9) being presented on screen and participants are asked to respond to every number besides 3 with a keyboard press (space).
In every trial, when the number is presented, I would like for each number size to vary by randomly choosing a font size. What is the best way to do this?
I have tried to use the shuffle function with a subset of font sizes with the following code:
fontSize = [[0.05], [0.08], [0.1],[0.6],[0.3]]shuffle(fontSize) # randomise the order on each trial
and in the text component under letter height: fontSize.pop()
But have received the following error: