Skip to content

feedbackOptions

Experiments

Layout switches for the feedback screen: center the feedback text, and/or draw the feedback on top of the still-visible trial screen instead of clearing it first.

Put center in the cell to center the feedback text, or sameScreen to overlay the feedback on the still-visible trial screen. Combine flags with a semicolon:

center;sameScreen

Write the flags exactly as shown; the sameScreen spelling in particular must match (see Tips & gotchas). The value is a list of flags, not JSON; a grammar like {"showRT": true, ...} is not supported.

FlagEffect
centerFeedback text is centered in the display area
sameScreenThe trial’s stimuli and buttons stay visible under the feedback text instead of being cleared first

Anything else is silently ignored. There are no showRT, showScore, showCorrectAnswer, color, fontSize, or position options; RT/score display is done by putting %rt% etc. in the feedback text, and color comes from the colors column.

If the column is absent or the cell is left blank, both flags are off: the feedback text is not centered, and the feedback replaces the trial screen instead of overlaying it.

  • Only relevant when a feedback message is actually shown (feedback/feedbackCorrect/feedbackIncorrect).
  • With sameScreen, the trial screen stays up while the feedback shows; response inputs are disabled during the feedback, and the feedback coloring is reset when the screen ends.

Centered feedback:

typestimFormatstim1keyboardkeyfeedbackfeedbackOptionsfeedbackTime
test.pngfacey nycorrect: Match!;incorrect: No matchcenter1000

Overlay feedback on the still-visible stimulus:

typestimFormatstim1keyboardkeyfeedbackCorrectfeedbackOptionsfeedbackTime
practice.jpgscenea laCorrect!sameScreen;center800
  • The overlay check matches sameScreen anywhere inside the cell, so embedding it in a longer token still partially triggers the overlay behavior; keep each flag as its own token.

feedbackOptions appears in these worked recipes:

  • Accuracy feedback block: Score keyboard responses and show correct, incorrect, or timeout feedback after every trial.