Replace Bone Transform?

I’m trying to replace a bone location in my animation but retain one of its axis. To do this I get the socket transform for the bone with the RTS component transform space, I get the location from that and I set it as a variable that I pass to my anim BP.

After this I use a transform(Modify)Bone node which is set to replace the bones translation in component space.

I’m not sure what I’m doing wrong but this just negates all of the bones location even though I have the variable being put in.

Whats the correct way to do this?

318993-1.png

bump⠀⠀⠀⠀⠀⠀