You can just get relative location, you do not need to fetch the transform. You can, of course, get transform and either break it into its elements or right click its pin and split the struct.
It would be easier if you just told us what you’re trying to do. Sounds like something simple but you’re going about it the hard way. I might be wrong, though.
Wild guess: you’re making a tank!