```
while True:
angle = Math.PI / 2 - Math.PI / 16
while angle >= -Math.PI / 2:
targetX = hero.pos.x + 5 * Math.cos(angle)
targetY = hero.pos.y + 5 * Math.sin(angle)
if hero.isPathClear(targetX, tragetY):
hero.move({'x': targetX, 'y': targetY})
angle -= Math.PI / 16
else:
hero.move({'x': hero.pos.x, 'y': hero.pos.y})
```

i dont know what my problem is but my hero just stays in one spot