Constrain x movement

what’s wrong this time?