The invention relates to a method for determining stretch values and movement of body parts, e.g. a foot, by analyzing stretch data from a stretch sensor. By analyzing data from the stretch sensor it is possible to determine stretch samples which are associated with particular motion phases. Thereby the stretch values determined from the stretch samples have a particular physical meaning since they are associated with particular motion phases.