3
Add the volume control
Drag the set volume to (100) block to the blank space in the script area.
4
Add the gear potentiometer block
Drag the gear potentiometer block and put it inside the set volume block.
Gear potentiometer
Gear potentiometer is an input device
that can be used to adjust values.
Using the gear potentiometer, you
can change the volume of Codey and
the brightness of the indicator light.
Note: You can't directly join these round
blocks to other blocks.
Note:Don’t add this block to the previous code.
Tip