UI name in toolbox: [TASK] answer is (correct|incorrect|correct or incorrect)
Block type: Value block, output type Boolean
Definition: Becomes true when the last answer submitted to a specific task matches the correct answer (or incorrect if selected).
When it becomes true:
- Immediately when an answer is submitted
- Remains true as long as that answer was the last submitted answer
- Updates if a new answer is submitted
How to build it:
- Drag
[TASK] answer is (correct|incorrect|correct or incorrect)from Logic category - Connect a task block to the
[TASK]socket - Select dropdown:
correct,incorrect, orcorrect or incorrect - Connect to condition socket in WHEN block
Input requirements:
[TASK]input: must be type Task
Field:
HOWdropdown:correct,incorrect, orcorrect or incorrect
How it differs from Task Finished:
- Independent of task settings
- Based on answer correctness, not task availability
- Only true if the last answer matches the condition
- Becomes false if a new (different) answer is submitted
Example (Simple):
Block: [2] icon "What is the capital?" answer is correct
Result: TRUE when Task 2 is answered correctly; FALSE if wrong answer given
Example (Edge Case – Multiple attempts):
Scenario:
- Player answers Task 2: “London” (incorrect) → Condition FALSE
- Player answers Task 2 again: “Paris” (correct) → Condition TRUE
- Player answers Task 2 again: “Berlin” (incorrect) → Condition FALSE
Notes:
- Does NOT depend on the task’s finish behavior
- Updates with every new answer submission
- Different from Task Finished Condition
Common mistakes:
- Using this when you need Task Finished Condition
- Forgetting it updates with each new answer