wait until in moveTo