files/en-us/web/api/touchevent/changedtouches/index.md
{{ APIRef("Touch Events") }}
The changedTouches read-only property is a {{ domxref("TouchList") }} whose touch points ({{domxref("Touch")}} objects) varies depending on the event type, as follows:
A {{ domxref("TouchList") }} whose {{ domxref("Touch") }} objects include all the touch points that contributed to this touch event.
This example illustrates the {{domxref("TouchEvent")}} object's TouchEvent.changedTouches property. The TouchEvent.changedTouches property is a {{domxref("TouchList")}} object that contains one {{domxref("Touch")}} object for each touch point which contributed to the event.
In following code snippet, the {{domxref("Element/touchmove_event", "touchmove")}} event handler iterates through the changedTouches list and prints the identifier of each touch point that changed since the last event.
someElement.addEventListener("touchmove", (e) => {
// Iterate through the list of touch points that changed
// since the last event and print each touch point's identifier.
for (let i = 0; i < e.changedTouches.length; i++) {
console.log(
`changedTouches[${i}].identifier = ${e.changedTouches[i].identifier}`,
);
}
});
{{Specifications}}
{{Compat}}