How do i offset a rotator by the world rotation?

so, i’m trying make a strafing animation for a 3rd person game and i’ve managed to so far get the animation to play correctly when the right buttons are pressed.
However this only works at 0 degrees.
For example if i move around to 180 degrees and press forward the character moves the right way but the animation plays backward, i assume because its taking its rotation value relative to the world and not the character.
How do i offset the rotation value so that 0 degrees is always at the front of the character?

Thank you