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:

  1. Drag [TASK] answer is (correct|incorrect|correct or incorrect) from Logic category
  2. Connect a task block to the [TASK] socket
  3. Select dropdown: correct, incorrect, or correct or incorrect
  4. Connect to condition socket in WHEN block

Input requirements:

  • [TASK] input: must be type Task

Field:

  • HOW dropdown: correct, incorrect, or correct 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:

  1. Player answers Task 2: “London” (incorrect) → Condition FALSE
  2. Player answers Task 2 again: “Paris” (correct) → Condition TRUE
  3. 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
Tagged: