Workshop › Rhythm Lanes › Step 10 of 35
update moves the clock one frame forward. Since the notes are drawn from the clock, this is all they need to fall.
```js
function update() {
frame += 1
}
```frame += 1 adds one frame. Every note's noteY is now 4 pixels lower.update yet.Write update above function draw() {, with an empty line between them.
Skills: Game states
← Draw the notes The game loop →