A BlockProperties entry describes the visual properties of a Block. It is stored in a Shape's Palette where it can be referred to by its palette index.

A BlockProperties entry can only be removed from its palette if it is currently not used by any blocks in its owner shape.


Returns whether or not BlockProperties is currently used by its owner shape.

Removes the BlockProperties entry from its palette, if it is unused. Returns true if it was removed.


How many blocks are currently using BlockProperties.

Color of the blocks using this BlockProperties.

Indicates if blocks using this BlockProperties emit light. Light color is tied to BlockProperties.Color.

BlockProperties' index in the Palette it belongs to.