Skip to main content

GUI_2DBlockInfoPos

This connection callback object returns an array of attributes for a selected vector block when the mouse moves over a drawing. It must be enabled using blockhoverevent

Callback Parameters

  • partlist: Array of attribute name-value pairs
  • Screenpos: Mouse x, y position
  • Pathindex: Path index that can be used with methods like addHoverforBlock

Example

RxCore.GUI_2DBlockInfoPos.connect(function (partlist, Screenpos, Pathindex) {

console.log("block pos ", Screenpos);


});