let yy = 0 let xx = 0 basic.showIcon(IconNames.Happy) basic.pause(2000) basic.clearScreen() basic.forever(function () { xx = 0 for (let index = 0; index < 5; index++) { yy = 0 for (let index = 0; index < 5; index++) { led.plot(xx, yy) basic.pause(200) yy += 1 } xx += 1 } basic.pause(1000) basic.clearScreen() })