1. slider [index] value

Slider - 图1

Reports the output value of the specified slider

How to Use

Sliders can be used to set the amount of various inputs, such as setting the volume of a speaker and brightness of an LED.
Output value range: 0–100
The number in this block indicates the place of a slider among the ones connected to Halocode. As shown in the following
figure, the number 1 indicates the first slider connected to Halocode, 2 indicates the second one, and so on.
Slider - 图2

You can select the check box on the left of this block to see the output value of the slider on the stage.
Note: This is a reporter block that must be used in combination with another block requiring data.

Example

Slider - 图3

Press the space key and drag the block on the slider. The brightness of the LEDs on Halocode changes with the position of the block.