Block Group: | Logic |
Icon: |
![]() |
The hub block outputs the most recently updated value from multiple inputs.
An initial output of a Script block that is set to autorun is an initial value of the property and is not considered a change. You can add more input n properties by clicking the plus sign, and delete them by clicking the minus sign. There is no limit to the number of inputs you can have.
The following property of the Hub block can take input and give output.
The following properties of the Hub block can give output but cannot take input.
The following image shows a Hub block. In this example, Ella deposited at 11:00 a.m., Cara at 1:00 p.m., and Shan at 2:00 p.m. output is the value of Shan’s deposit. Because input 1 is the most recently updated input, index is 1.