How to move a Rigid2d character in horizontal axis?

Please read this page for how to post code nicely on the forums:

Your code looks mostly okay, though I think you want to have:

theScale.x *= -1; // changed to '*=' from '='

on that one line.

Is the character not moving at all?

Do you have any errors?