/Engine/Source/Editor/Kismet/Public/BlueprintEditor.h
Utility helper to get the currently hovered pin in the currently visible graph, or nullptr if there isn't one.
[UEdGraphPin](API\Runtime\Engine\EdGraph\UEdGraphPin) * GetCurrentlySelectedPin() const