UI name in toolbox: scan QR [VALUE]

Block type: Value block, output type Boolean

Definition: Becomes true when a specific QR code is scanned during the game.

When it becomes true: The moment the defined QR code is scanned.

How to build it:

  1. Drag scan QR [VALUE] from Logic category
  2. Enter or paste the QR code value in [VALUE] field
  3. Connect to condition socket in WHEN block

Field:

  • [VALUE]: text input (QR code value/data)

How it’s defined:

  • Enter or paste the QR code value
  • The code is persistent (affects the entire game, not just one task)
  • Different from auto-generated task QR codes

Important QR code restrictions:

  • QR codes starting with 0 do not work reliably
  • Avoid codes like “0123456789”
  • Always test QR codes before deploying games

Scope: Game-wide (persistent across entire game), unlike task-specific QR codes.

Example (Simple):
Block: scan QR SECRET_LOCATION_1
Result: Scanning that QR code triggers the condition

Example (Edge Case – QR code starting with 0):
Block: scan QR 0123456789
Result: May not scan reliably; use scan QR 1023456789 instead

Notes:

  • Persistent throughout the game
  • Independent of task QR codes (which auto-generate)
  • Useful for location-based checkpoints or hidden challenges

Common mistakes:

  • Using QR codes starting with 0
  • Confusing with task-level QR codes
  • Not testing QR codes before game launch
Tagged: