# meta
```json
{
  "id": "steam-dota-text-seeker",
  "name": "Steam Dota text seeker",
  "tickRate": 20,
  "permissions": ["overlay.entities", "desktop.windows", "desktop.vision"]
}
```

# select
```json
{
  "pet": { "visible": true },
  "steam": { "window": { "processName": "steam", "titleIncludes": "Steam" } }
}
```

# state
```json
{
  "pet": {
    "target": null,
    "speed": 140
  }
}
```

# tick
```json
[
  {
    "forEach": "pet",
    "do": [
      { "findText": { "window": "steam", "text": "Dota 2", "save": "state.target" } },
      { "moveToward": { "target": "state.target.center", "speed": "state.speed" } },
      {
        "when": "state.target != null",
        "do": [
          { "effect": "explosion", "durationMs": 220, "radius": 120 },
          { "animation": { "left": "running-left", "right": "running-right" } }
        ]
      }
    ]
  }
]
```
