Lights
Blocks for controlling LEDs or any onboard lighting effects.
Set Bottom Flash LED Brightness
Block
Description
Sets how bright the bottom flash LED should shine.
Params
- BRIGHTNESS: Number - The brightness level, usually between 0 (off) and 100 (full brightness).
Set RGB LED Color
Block
Description
Changes all RGB LEDs to the selected color.
Params
- COLOR: Colour - The color you want to show on the LEDs.
Set RGB LED Color By Index
Block
Description
Changes the color of one specific LED by its number.
Params
- INDEX: Number - The LED number you want to change.
- COLOR: Colour - The color to set for that LED.
Set RGB LED Brightness
Block
Description
Adjusts how bright all RGB LEDs are.
Params
- BRIGHTNESS: Number - The brightness level, usually between 0 (off) and 100 (full brightness).
Set RGB LED Mode
Block
Description
Sets the LED mode to automatic or manual control.
Params
- MODE: Dropdown - Choose ‘Auto’ for automatic LED control or ‘Manual’ to set colors yourself.
- Auto
- Manual
Colour Picker
Block
Description
Choose a colour from the palette.
Params
- COLOUR: Color
Colour Random
Block
Description
Choose a colour at random.
Colour RGB
Block
Description
Create a colour with the specified amount of red, green, and blue. All values must be between 0 and 100.
Params
- RED: Number
- GREEN: Number
- BLUE: Number
Colour Blend
Block
Description
Blends two colours together with a given ratio (0.0 - 1.0).
Params
- COLOUR1: Colour
- COLOUR2: Colour
- RATIO: Number