blockly > IIcon > getWeight

IIcon.getWeight() method

Signature:

getWeight(): number;

Returns:

number

the "weight" of the icon, which determines the static order which icons should be rendered in. More positive numbers are rendered farther toward the end of the block.