Skip to content

GetAverageValueInCustomTableBlock

16.13

Class Documentation

Edit documentation

A block that writes the average of the numbers in a custom table to Average. The block first writes 0 to Average. It then adds up every int and float value of the table and counts them. If it counted at least one value, it writes the sum divided by the count.

A value of another kind records a script error and is left out of the average. An empty table leaves Average at 0.

Properties