New to processing---------motion tracking

I set up the code to follow a colored thing on 2 axes, but I only had 1 servo, so I wanted to only use the x axis. But the servo moves on the y axis. Why? Is it just a silly error?

Wrong pin?