Skip to content

Collecting non-predetermined-number of keystrokes in 1 "trial" #817

Discussion options

You must be logged in to vote

One way you could set this up would be using a conditional loop: https://www.jspsych.org/overview/timeline/#looping-timelines

You could set it up so that, for example, if the key pressed = 32 (spacebar), then continue to a new trial, otherwise keep looping the same trial.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by CarolynBuck-Gengler
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants