Is it possible to set up this? Please help thank uuuu

Hello everyone,

I want to set up an online experiment which the participants press the space once for yes, press the space twice for no. Is it possible for me to do this and how? Can anyone help? Thank you soooo much !!!

You could do this with an extra routine to capture the second space.

Routine 1 ends on a space
Routine 2 ends on a space or a designated time (e.g. 1 second)

You could then use code to save yes/no depending on whether one or both response columns contained a space.