Trying to communicate a spawn location to a UMG

I have a 3d widget that is able to spawn an object when I click on the menu and I have turned the Spawn transform into an open variable. All is working so far. I have then created an actor that I want to put into the world and have that as my spawn location. I have used a scene component dragged that to a getworldtransform and set that to the spawn transform variable from the UMG but the issue is casting to the UMG is not working. Am I meant to use a cast node like in the images below or am I doing it completely wrong?