In some tasks, you need the on-screen stimuli to remain visible for a fixed duration, even if the participant makes a response. In this scenario, the keypress should be recorded but must not terminate the stimulus presentation.
To achieve this, use a Keyboard Trigger to capture the response, but use a separate Timer Trigger to control when the trial ends.
Advanced Example
For a more complex task involving multiple keypresses within a single trial, please see the RECALL_SEQ sequence in the Create False Memories Example.
To achieve this, use a Keyboard Trigger to capture the response, but use a separate Timer Trigger to control when the trial ends.
- Display Screen: The node that presents your stimulus.
- Keyboard Trigger: Records the participant's keypress.
- Intermediate Node (Crucial): You must place an action node here to separate the two triggers. Use an Update Attribute node (to save the response data) or a Null Action node.
- Timer Trigger: This node ends the trial. To ensure a fixed duration, set its Start Time property to reference the start time of the initial stimulus screen (e.g., DISPLAY_SCREEN.startTime).
Advanced Example
For a more complex task involving multiple keypresses within a single trial, please see the RECALL_SEQ sequence in the Create False Memories Example.

