addHoverforBlock
Marks a vector 2D polygon with a different color. This method is used in combination with GUI_2DBlockInfoPos
for mouse-over indication. Use clearHover
to remove the marking.
Syntax
RxCore.addHoverforBlock(blockindx, color)
Parameters
blockindx
: number — Block index returned byGUI_2DBlockInfoPos
.color
: string — Highlight color to use on the 2D vector polygon.
Returns
- NA — This method does not return a value.