Skip to main content

StroopTask.Prompt

Description

The StroopTask.Prompt type defines an individual frame of a Stroop task. Each frame consists of a single word visually displayed in a given color. The word is always the name of a color and may or may not match the display color.

Properties

  • word (StroopTask.Color, required) - The text to display.
  • color (StroopTask.Color, required) - The color in which the word should be displayed.
  • hint (string, required) - A short message to provide additional context or support to the end user.

Example

{
"word" : "Red",
"color" : "red",
"hint" : "Remember to tap the colour of the word shown above."
}