# meta
```json
{
  "id": "window-top-walker",
  "name": "Window top walker",
  "tickRate": 30,
  "permissions": ["overlay.entities", "desktop.windows"]
}
```

# select
```json
{
  "entity": { "visible": true },
  "targetWindow": { "window": { "foreground": true } }
}
```

# state
```json
{
  "entity": {
    "speed": 90,
    "direction": { "choice": [-1, 1] }
  }
}
```

# tick
```json
[
  {
    "forEach": "entity",
    "do": [
      { "walkWindowTop": { "window": "targetWindow", "speed": "state.speed", "direction": "state.direction", "footOffset": 12 } },
      { "animation": { "direction": "state.direction", "left": "running-left", "right": "running-right" } }
    ]
  }
]
```
