
1
Add a sensor
Drag the
color is red
block to the script area.
2
Add a control block
Drag the
if/then
block to the script area and put the
color is red
block inside that hexagonal hole.
3
Add a light effect
Drag the
RGB LED lights up
block into the
if/then
block.
You can reset the color.
You can click here to
reset the color.
Note:Hexagonal blocks can't
directly join to other blocks.
Create
Create
Summary of Contents for Codey Rocky
Page 1: ...Code for Fun with Codey Rocky www makeblock com mBlock...
Page 19: ...Codey Turn Codey into a Musician Turn Codey into a Musician Scan the QR code to view the demo...
Page 24: ...Codey Scan the QR code to view the demo Make Codey Blink Eyes Make Codey Blink Eyes...
Page 51: ...Make a Number Bomb Game Make a Number Bomb Game CodeyRocky...