BlockProperties
A BlockProperties entry describes the visual properties of a Block. It is stored in a 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 block in its owner shape(s).
Functions
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.
Properties
How many blocks are currently using BlockProperties. If the Palette is shared by multiple shapes, BlocksCount is the sum of all blocks using BlockProperties amongst all shapes.
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.