psychopy.org | Reference | Downloads | Github

Stimuli disappear on key release

Hi all,

I am trying to create an experiment in which:

  1. a fixation cross appears
  2. subjects press a key and hold it down
  3. after a jittered window of time, the fixation cross disappears and the stimuli for the trial appear

Ultimately, I want the stimuli to disappear when the key is released. Currently, I cannot figure out how to make the stimuli disappear upon key release. Any help would be greatly appreciated. I am using iohub and am happy to receive help using the coder or the builder view.

Shira

I have an solution here that doesn’t rely on iohub but should be compatible with it: Tracking Key release