Movement code.