Finding highest level parent

In the VR template I am attaching multiple actors together. I want to be able to grab any one of them and move the whole group. My idea is to find the highest level or top parent, and attach that to the hand when grabbing any of the attached actors. I’m wondering if there is a specific way to find the highest level parent? I thought my code would set “Check if head parent” to the top parent but it doesn’t seem to work…

I solved my issue by looping a few nodes and using “Get Attach Parent Actor” and checking if it returns null, if it did it was the highest parent, if not id set the variable to this new parent and lopp again.