How to fix it?

If you take an object from behind, the object does not change the direction of movement, as if you take it from the front. I need that I take a front, it moves to the left, if I take from behind it moves to the left, but not to the right