Motion constrains and program