Skip to main content

setBlockColor

Use this method to draw a selected vector block in a different color.

Syntax

RxCore.setBlockColor(blockid, color, override)

Parameters

  • blockid: number — Block ID of the block to change.
  • color: string — Color to apply to the block.
  • override: boolean — If false, resets the color to the original block color.

Returns

  • NA — This method does not return a value.