Issue with strafe animation playing forward run

I’m completely new to ue4 and want to set up a 3rd person character that strafes when pressing A or D and running forward and backwards with W and S. Now the character triggers the run forward animation no matter the direction it’s moving. But the character controller moves in the ´correct direction in the scene. Any help is appreciated.