Documentation › Guides
Clicker Heroes: all together
The finished bot — read the level, click the monster, buy and upgrade heroes, with runtime limit and clean fallback branches. Let it play alone for half an hour.
This guide puts the three previous ones together: the bot reads the level, clicks the monster 10 × level times,
then buys or upgrades a hero if the gold is enough — and starts over. After 30 minutes it stops by itself.

The flow in words
Play video1:45Start → Runtime limit (30 min)
→ Find anchor (coin)
found → Read text (zone) → Number from text → variable level
→ Find image (ornament, offset onto the monster)
found → Repeat 10*{level}: Click (direct, 40 ms)
done → Find image (BUY blue)
found → Click → back to Find anchor
not → Find image (LEVEL blue)
found → Click → back to Find anchor
not → back to Find anchor
not found → Wait 3 s → back to Find anchor
not → Wait 3 s → back to Find anchor
Fourteen nodes (including Start), four templates (coin, ornament, BUY, LEVEL) — all embedded in the example.
What is new here
Play video0:39- One round = one return. Everything runs back to "Find anchor", not to "Start" — so the runtime limit is set only once and the level is read afresh every round.
- Two fallback branches, one wait. "Anchor not" and "Monster not found" flow into the same Wait node. An output may have only one line, an input any number.
- Buy only after clicking. First earn the gold, then check whether it is enough — otherwise the bot polls in vain.
Fine-tuning
| Wish | Change |
|---|---|
| Click faster | In the Click node raise Number of clicks and set Speed to Very fast — or "Wait afterwards" to 20 ms |
| Smoother mouse movement, varied rhythm | movement profile Human, pauses via a Wait node with Random duration instead of the "Wait afterwards" field |
| Run longer | raise the runtime limit — or Random time on so the duration varies |
| Keep a log | Compose text ({time};{level}) + Write file in append mode per round |
| Be told when something goes wrong | put Notify (Discord/Telegram, subscription) or Alarm in the "not found" branch before the wait |
If it doesn't work
Every partial guide has its section "If it doesn't work": Auto-clicker, Buy a hero, Read the level. And in general: Image is not found, Click doesn't arrive.