Trying to make a 2D side-scroller where speed is based on the direction the player is going.

Hello I am very new to Unreal and game development in general and I am trying to find a way to make it so if the player is going or stops, they are gradually slowed down. When they begin moving to the right again they slowly get back to normal speed. I don’t know if I should have some sort of zone following the player or if it should be something built into the character’s blueprint.

Look into the character’s Movement Component. Play around with Max Walk Speed and Acceleration for when the character starts walking, and Braking Deceleration and Ground Friction for when it stops.