Character facing issue

Hey all i’m a bit new to coding in unreal engine 5 and was looking for a bit of guidance with my blueprint code, for starters my game i’m creating is a top down shooter where the player is a tank with the turret following the cursor.

The issue I’m having is with the movement kind of, the in player moves fine with the inputs but the moment is stop pressing the input the character faces the same direction and i like it not to do that. The code has been posted below if anyone is able to help it would be greatly appreciated.
Movement code


Turret rotation

Boost