PaperZD character always looking towards the same side after moving in opposite direction

I’d like to do that but, the default ThirdPersonCharacter uses this for movement:


Where exactly should I add these branches? :thinking: