Setting actor location as location of moving skeletal mesh not working

Creating a vehicle that the player can posses to control then get out of. The vehicle has a skeletal mesh component that is used to mark the location where the player will exit to. Everything works fine if I get in and out without moving the vehicle but if I move the vehicle and get out I spawn in a different spot even though I can see the skeletal mesh is where it should be. I’m new to Unreal so go easy on me. Thank you for any help

The bottom portion of the code is where I am exiting the vehicle. I set the location of my saved character that I was before I entered the vehicle as the skeltal mesh component location which is a part of the blueprint that is moving.