Oh yeah what mystman12 said, for example, you need X=X+1 when you push right and X=X-1 when you push left.