Two correct key responses in builder

Is it possible to accept two correct key responses for a trial? I get the correct answers from the excel sheet.
Thanks in advance.

Always in the same order or in either order or do you mean two alternative correct responses?

Oh sorry, I mean two alternative correct answers.

I tried added a simple array to a keyboard component, but that didn’t work.

So, I recommend using some simple code instead.

Put the following in End Routine

if 'y' in key_resp.keys or 'n' in key_resp.keys:

Replace ‘y’ and ‘n’ with your two answer column names (without dollar signs).

Thank you so much!