Change +X movement to -X if speed 0 in 2d runner

Hi all…I have some difficult to build logic for my game and blueprint scripting for as I thought simple thing…
All I need is: player actor moving in x axis to the right…after he hit wall his speed come to 0…and he starting moving to the left…now iam stuck.

You need to include an “equals” check. You can either add a another Branch with an “Equals” condition, or you can use the CompareInt node to include all 3 cases in the same node: