blockly > Block > getHue

Block.getHue() method

Get the HSV hue value of a block. Null if hue not set.

Signature:

getHue(): number | null;

Returns:

number | null

Hue value (0-360).