Why does it have to be a UFUNCTION? You haven’t really said what you’re trying to do other than “I’m trying to create a node on a blueprint” and I’ve never seen blueprint used to modify a graph in this way before. Usually you either make a blueprint callable function or create a custom K2 node to make something that can be placed onto the graph. Not scripts that modify the graph for you.