Contents
Documentation › Guides

Clicker Heroes: read the level

Read the zone display via OCR, make it robust with an anchor and let the click count grow with 10*{level}.

Last updated: 2026-09-12

After this guide your bot reads "Grove Lv. 1" from the screen, turns it into the number 1 and clicks 10 × level times each round — the further you get, the harder it works. Prerequisite: Preparation and the auto-clicker.

Read the level in the editor: anchor → OCR → number → variable → log → click loop with 10*{level}

Download the example bot

Step 1 — Anchor: the gold coin

Play video1:32
Flo shows youYour click lands, even when the button moves: with an anchor1:32 min

The OCR region should still be right when the browser window is somewhere else. So first, from Perception, the Find anchor (image) node after Start:

  • Anchor name HUD
  • Anchor template → Capture: tightly around the gold coin at the top left
  • Similarity 0.85, Scale-tolerant on

The gold coin as anchor template

Step 2 — Read text

Play video3:28
Flo shows youRead a number off the screen: text recognition in 3 steps3:28 min

Read text (OCR) at the found output:

  1. Region relative to anchor on, Anchor HUD.
  2. Click Region… and drag a tight rectangle around "Grove Lv. 1". Because "relative to anchor" is on, the app stores the region as an offset to the coin (in the example about 955 px to the right, 66 px lower).
  3. Upscaling 2x, everything else default.

The read region

Step 3 — Make a number of it

Play video0:41
Flo tip · shortClean numbers with text recognition: when to use “Number only”0:41 min

Number from text after the OCR node, blue line text → text. Number only (OCR fix) stays off: the text contains letters, and the fix would turn every "l" in "Wäldchen" (Grove) into a 1. In normal mode the node takes the first sequence of digits — the 1 after "Lv.".

Step 4 — Remember it as a variable

Play video1:30
Flo shows youWhat do the {braces} mean? Remember values and calculate without code1:30 min

Set variable with Name level, blue line value → value. After it a Log output: Zone level {level} → {level}×10 clicks — so you see in the log what was read.

Step 5 — Let the clicks grow

Now attach the auto-clicker part (Find image → Repeat → Click), but in Repeat enter the formula instead of a number:

10*{level}

After the loop ("done") back to Find anchor — every round the level is read afresh.

Step 6 — Start

In the log you see in turn: ⚓ anchor found, 👁 OCR (1 lines): "Wäldchen L"; 1", Zone level 1 → 1×10 clicks, then ten clicks. If the zone rises, the click count rises with it.

What you have learned

  • An anchor makes regions independent of the window position.
  • OCR rarely delivers perfect text — Number from text still extracts the number if you choose the right mode.
  • Number fields calculate: 10*{level} is a perfectly normal entry.

If it doesn't work

  • OCR reads empty: region tighter and centred around the text. Try upscaling 3x. Check with {Read text (OCR).text} in a log output. In detail: OCR reads wrong.
  • Level 11 instead of 1: "Number only" is on — turn it off (step 3).
  • Anchor not found: capture the template again. The coin must be fully visible (window not cut off).

Ready to try it?

FlowBotCommander is free to start — no account needed.

Start free