MCPcopy Create free account
hub / github.com/Comfy-Org/litegraph.js / #isMouseOverWidget

Method #isMouseOverWidget

src/LGraphNode.ts:3649–3652  ·  view source on GitHub ↗
(widget: IBaseWidget | undefined)

Source from the content-addressed store, hash-verified

3647 }
3648
3649 #isMouseOverWidget(widget: IBaseWidget | undefined): boolean {
3650 if (!widget) return false
3651 return this.mouseOver?.overWidget === widget
3652 }
3653
3654 /**
3655 * Returns the input slot that is associated with the given widget.

Callers 1

drawSlotsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected