Task Editor
The Task Editor is Cajal’s visual experiment builder where you design and configure psychology experiments without writing any code. Build everything from simple questionnaires to complex cognitive tasks using components as building blocks.What is the Task Editor?
The Task Editor provides a complete visual environment for creating experiments:- Visual Design - See exactly what participants will see as you build
- Component-Based - Add pre-built psychology components (Stroop stimuli, Likert scales, instructions, etc.)
- No Coding Required - Configure everything through an intuitive interface
- Flexible - Create simple surveys or complex multi-block experiments
Core Concepts
Components: Building Blocks
Components are the fundamental building blocks of your experiment. Each component represents one screen or interaction that participants see:- Instruction screens - Welcome messages, task explanations, debriefing
- Stimulus presentations - Images, words, sounds to display
- Response collection - Keyboard responses, button clicks, form inputs
- Feedback - Performance feedback, progress indicators
- Questionnaires - Likert scales, multiple choice, text inputs
Elements: Parts of Components
Each component contains one or more elements - the visual pieces that make up the screen:- Text elements - Display instructions, questions, or stimuli
- Image elements - Show pictures, diagrams, or visual stimuli
- Button elements - Collect button-based responses
- Form fields - Text inputs, dropdowns, radio buttons, checkboxes, sliders
- Shapes - Backgrounds, dividers, visual markers
- Fixation crosses - Central focus points between trials
Connecting Components Together
Components connect in sequence to create your experimental flow:- Linear sequences - One component after another (intro → task → debrief)
- Loops - Repeat component sequences multiple times
- Randomization - Shuffle the order of components
- Conditional branching - Different paths based on participant responses
Five Views
The Task Editor provides five specialized views for different aspects of experiment design:Screens
Design your experiment screens with visual elements. Add text, images, buttons, and form fields. Position and style everything exactly how you want it.
Flow
Connect components into sequences. Create loops, randomize trials, and set up conditional branching. Visualize your entire experiment structure.
Timeline
Control timing and trial structure. Set durations, configure response windows, organize components into blocks, and manage experimental phases.
Variables
Define trial-by-trial variations using a spreadsheet interface. Create 160 unique trials from a single template. Perfect for multi-trial experiments.
Preview
Test your experiment before sharing. Run through trials exactly as participants will see them. Verify timing, flow, and data collection.
Getting Started
Here’s how to create your first component:Step 1: Add a Component
Click the “Add Component” button in the left sidebar or pressA on your keyboard.
Step 2: Select Component Type
Choose from the component library:- Instruction - For welcome screens and task explanations
- Stimulus - For presenting images, words, or visual stimuli
- Response - For collecting keyboard or button responses
- Questionnaire - For surveys and forms
- Fixation - For inter-trial fixation crosses
Step 3: Configure Properties
Use the right properties panel to customize:- Component name - Give it a descriptive name
- Duration - How long it displays (or until response)
- Response settings - Valid keys, correct answers, feedback
Step 4: Add Elements to Canvas
Switch to the Screens view to add visual elements:- Click ”+ Element” on the canvas
- Select element type (text, image, button, etc.)
- Position and style the element
- Configure element properties
Common Workflows
Creating a Simple Questionnaire
Goal: Create a 5-question mood survey- Add an Instruction component for welcome message
- Add 5 Questionnaire components (one per question)
- For each questionnaire:
- Add a text element for the question
- Add a Likert scale element for the response
- Configure scale (1-7, labels like “Not at all” to “Extremely”)
- Add a final Instruction component for thank you message
- Connect components in sequence (Timeline view)
- Preview to test
Building a Stroop Task
Goal: Create a classic Stroop experiment with 160 trials- Add an Instruction component explaining the task
- Add a Fixation component (500ms duration)
- Add a Stimulus component:
- Add text element for word display
- Configure color and word
- Set duration to 2000ms
- Add a Response component:
- Set valid keys (e.g., F, J)
- Configure correct response based on color
- Add Feedback component for incorrect responses
- Create a Loop frame around fixation-stimulus-response sequence
- Use Variables view to define 160 trials (word, color, congruency, correct key)
- Add intermissions every 40 trials for breaks
- Preview with subset of trials
Setting Up Instructions and Consent
Goal: Add proper consent form and task instructions- Add an Instruction component for consent:
- Add text elements for consent form text
- Add a button element labeled “I Consent”
- Set button to advance to next component
- Add an Instruction component for task overview:
- Explain the task
- Show example stimuli (using image elements)
- Add “Continue” button
- Add an Instruction component for detailed instructions:
- Step-by-step what participants will do
- Response key mappings
- Example trial walkthrough
- Add Practice Trial components (3-5 trials with feedback)
- Add “Begin Experiment” transition screen
- Connect all in sequence
Keyboard Shortcuts
Speed up your workflow with keyboard shortcuts:| Action | Shortcut | Description |
|---|---|---|
| Add Component | A | Open component library |
| Timeline View | T | Switch to timeline view |
| Flow View | F | Switch to flow view |
| Variables View | V | Switch to variables view |
| Preview | P | Start preview mode |
| Analytics | D | View collected data |
| Save | Cmd/Ctrl + S | Save experiment |
| Undo | Cmd/Ctrl + Z | Undo last action |
| Redo | Cmd/Ctrl + Shift + Z | Redo action |
| Duplicate | Cmd/Ctrl + D | Duplicate selected component |
| Delete | Delete/Backspace | Delete selected component |
| Copy | Cmd/Ctrl + C | Copy selected component |
| Paste | Cmd/Ctrl + V | Paste component |
Component Library
The Task Editor includes a comprehensive library of research-backed components:Setup Components
- Instructions - Welcome screens, explanations, debriefing
- Consent Form - IRB-approved consent collection
- Demographics - Age, gender, education questionnaires
Stimulus Components
- Text Stimulus - Word or sentence display
- Image Stimulus - Picture presentation
- Audio Stimulus - Sound playback
- Video Stimulus - Video clips
- Sequential Stimulus - Rapid serial presentation (digit span, RSVP)
- Fixation Cross - Inter-trial fixation (+, •, ×)
Response Components
- Keyboard Response - Single or multiple key press
- Button Response - On-screen clickable buttons
- Text Input - Open-ended text responses
- Multiple Choice - Radio buttons (single selection)
- Checkboxes - Multi-select options
- Dropdown - Select menu
- Likert Scale - 1-7 rating scales
- Slider - Continuous response slider
- Visual Analog Scale (VAS) - Line-based rating
Specialized Components
- Matrix Response - Grid of questions × response options
- Semantic Differential - Bipolar adjective scales
- Pairwise Comparison - Compare stimulus pairs
- Ranking - Drag-to-rank items
- Hotspot Response - Click regions on images
- Grid Layout - Organize multiple elements in grid
- Split Screen - Two-panel layouts
Best Practices
Component Organization
- Use descriptive names - “Stroop_Word_Red_Congruent” not “Component_1”
- Group related components - Use Timeline folders for organization
- One purpose per component - Don’t combine stimulus and response in same component
- Consistent timing - Use same durations for similar component types
Element Design
- Keep it simple - Fewer elements = clearer screens
- Use center alignment - Easier for participants to focus
- High contrast - Ensure text is readable (check color contrast ratios)
- Consistent fonts - Use same font family throughout
- Appropriate sizes - Text should be legible without strain
Timing Configuration
- Standard fixation - 500ms for most cognitive tasks
- Stimulus duration - 2000-3000ms typical for reading tasks
- Response windows - Unlimited for accuracy, limited for speed
- Inter-trial intervals - 500-1000ms prevents fatigue
- Break frequency - Every 40-60 trials for long experiments
Testing
- Preview early and often - Don’t wait until experiment is complete
- Test with colleagues - Get feedback on instructions and clarity
- Run full-length pilot - Test timing and fatigue
- Check on different devices - Desktop and tablet if applicable
- Verify data collection - Ensure all responses are captured
Next Steps
Now that you understand the basics of the Task Editor, dive into each specialized view:Screens View
Learn how to design experiment screens with visual elements
Flow View
Master connecting components and creating experimental structure
Timeline View
Control timing, sequencing, and trial organization
Variables View
Create trial-by-trial variations for multi-trial experiments
Preview
Test your experiment before collecting data
Need Help?
- AI Assistant - Ask the AI to create or modify components using natural language
- Templates - Start from pre-built experiment templates
- Community - Browse experiments shared by other researchers

