SGraphNode::GetHoveredPin

Find the pin that is hovered.

Unreal Engine C++ API Reference > Editor > GraphEditor > SGraphNode

References

   
Module GraphEditor
Header /Engine/Source/Editor/GraphEditor/Public/SGraphNode.h
Include #include "SGraphNode.h"
Source /Engine/Source/Editor/GraphEditor/Private/SGraphNode.cpp
virtual [TSharedPtr](API\Runtime\Core\Templates\TSharedPtr)< [SGraphPin](API\Editor\GraphEditor\SGraphPin) > GetHoveredPin
(
    const [FGeometry](API\Runtime\SlateCore\Layout\FGeometry) & MyGeometry,
    const [FPointerEvent](API\Runtime\SlateCore\Input\FPointerEvent) & MouseEvent
) const

Remarks

Find the pin that is hovered. A pointer to the pin widget hovered in this node, or invalid pointer if none.

Parameters

Name Description
MyGeometry The geometry of the node
MouseEvent Information about the mouse

Ask questions and help your peers Developer Forums

Write your own tutorials or read those from others Learning Library