(tank controls) keeping forward orientation after releasing fwd button but turning

This is the complete moving setup at the moment:

It is hacky but I am currently redoing and the movement /rotation orientation issue was my first problem. I think I’ll just move all the forward/backwards movement nodes from the inputaxis to tick instead of trying to do the same thing in two places. Probably enough to just have a bool for the inputaxis and then in tick do the acceleration/deceleration based on that. I don’t have any good ideas for the main issue of this main question though. Here is what I tried earlier:

Obviously that example doesn’t work but I wonder if it is even the right idea to try to use the addMovementInput node for this?
I’d imagine the problem becomes easier to solve once I have moved the movement stuff to tick.