perhaps something like this
``` js
walkRight : {frames: [1, 2, 1, 2, 1, 2], next: "lookRight", speed: 2},
lookRight: {frames: [3]}
```