Make Codey Blink Eyes
Make Codey Blink Eyes
1) Drag an Event block when Codey starts up to the Scripts area.
2) Add a Looks block show image () for () secs. Add an Operators block pick random () to () to make Codey blink eyes randomly. Set the number as 2 and 5.
3) Add another Looks block show image () for () secs. Draw the following image, and set the time as 0.2.
4) Drag a Control block forever to wrap up the two show image () for () secs blocks, so Codey will keep blinking eyes.
5) Click “Upload” to upload the program to Codey.
6) Check Codey to see it blink eyes!