I wanna randomly select five stimuli among the total(45)

thank you sooomuchTParsons :joy:
but yet i can’t understand …
i put '44 stimuli(now 44 are total.) ’ used in main trial in condition
and I check ā€˜is trial’ and I put 1 in nResp $
like this


is it right?

and… i create a code component with in the ā€œEnd Routineā€ tab in trial loop



but there was an error.
image
What did i do wrong?