How to make side scrolling character do a full turn when changing direction?

Hey Jandex how would you approach this in blueprints? I’ve been trying to figure out for a side scroller I’m trying to create. Thanks