Make RobotMove function.