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