Skip to main content

Scratch Card

Scratch Card is a motor engagement and relaxation activity where the participant scratches away a grey cover layer to reveal a hidden illustrated scene. While not a standardized neuropsychological test, it functions as a low-demand filler, warm-up, or engagement activity. The recorded scratch path and coverage data map onto fine motor control, motor persistence, processing speed, and engagement behavior.

ActivitySpec: lamp.scratch_card

Cognitive domain: Motor engagement, fine motor control, relaxation

Configuration

SettingDescription
ThresholdPercentage of the card that must be scratched before the completion prompt appears (default: 80%). The participant can continue scratching past this point.
Number of CardsNumber of scratch cards to present, 1-5 (default: 3). Each card shows a unique scene with no repeats within a session.
API settings fields
Dashboard SettingAPI FieldTypeDefault
Thresholdthresholdnumber80
Number of Cardsnum_cardsnumber3
Path Sampling Intervalscratch_path_interval_msnumber50

Sample Instructions

"Scratch the surface with your finger to reveal the hidden image. Keep scratching until the full picture appears."

Usage

The participant scratches a grey cover layer by dragging their finger (or mouse) to reveal one of five illustrated SVG scenes (tree reader, lake boat, stargazer, garden, sleepy cat). A progress bar shows the percentage scratched, and a card counter tracks progress through the session.

When coverage reaches the configured threshold, a "Next Card" (or "Finish" on the last card) button appears — but the card does not end automatically. The participant can continue scratching past the threshold, and the gap between the threshold and final coverage percentage serves as a behavioral measure of completionism.

Scratch path coordinates and element bounding boxes share the same normalized (0-1) coordinate system, enabling direct spatial overlap analysis.

Scoring

Each card is scored by whether the threshold was reached and the final coverage percentage. The overall score is the proportion of cards completed.

Data

static_data

FieldTypeDescription
num_cardsnumberNumber of cards configured
cards_completednumberCards where threshold was reached
cards_attemptednumberCards the user started scratching
total_scratch_time_msnumberSum of scratch time across all attempted cards (ms)
avg_scratch_time_msnumberAverage scratch time per attempted card (ms)
thresholdnumberConfigured threshold percentage (0-100)
card_resultsarrayPer-card detail (see below)
scorenumberCompletion percentage
correct_answersnumberCards completed
total_questionsnumberTotal cards
questionnaireobjectPost-game ratings: clarity (1-5), happiness (1-5)

Each entry in card_results:

FieldTypeDescription
cardnumberCard number (1-indexed)
background_namestringScene identifier (e.g., "tree_reader", "lake_boat")
time_msnumberTime spent scratching this card (ms)
final_pctnumberActual percentage scratched (0-100, may exceed threshold)
threshold_reachedbooleanWhether coverage met the threshold
elementsarrayVisual element bounding boxes for spatial analysis: {name, x, y, w, h} (all normalized 0-1)
scratch_patharraySampled pointer trajectory: {x, y, t} (x/y normalized 0-1, t = ms since card start)

temporal_slices

One entry per card attempted:

FieldTypeDescription
itemnumberCard number (1-indexed)
typebooleantrue if threshold was reached
valuenumberFinal scratch coverage percentage (0-100)
durationnumberTime spent on this card (ms)
levelnumberAlways 1
background_namestringScene identifier

Cortex Features

No Cortex features are currently available for this activity.

View in Portal | Python SDK | API Reference