# EVENT\_TOUCHEND and EVENT\_MOUSEUP difference

**URL:** <https://forum.playcanvas.com/t/event-touchend-and-event-mouseup-difference/4883>\
**Category:** Help & Support\
**Created:** [September 19, 2017, 1:23pm UTC](https://forum.playcanvas.com/t/event-touchend-and-event-mouseup-difference/4883 "2017-09-19T13:23:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![joonturbo](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/joonturbo/32/4805_2.png) [@joonturbo](https://forum.playcanvas.com/u/joonturbo)\
**Post date:** [September 19, 2017, 1:23pm UTC](https://forum.playcanvas.com/t/event-touchend-and-event-mouseup-difference/4883/1 "2017-09-19T13:23:20Z")

</div>

I noticed that MouseUp will give you the coordinate of the release, but TouchEnd doesn’t.  
I understand the info comes from different places, but what is the correct way to figure out where a Touch was released?

inside of my TouchEnd handler, touches.length is zero (given you don’t have any other touches). Is there another way to access the coordinates/ or should I log them manually through the move commands?

this returns 0:

```javascript
TouchListener.prototype.onTouchEnd = function (event) { 
console.log(event.touches.length);
};

```

---

<div class="post-metadata">

**Author:** ![yaustar](https://forum.playcanvas.com/user_avatar/forum.playcanvas.com/yaustar/32/2268_2.png) [@yaustar](https://forum.playcanvas.com/u/yaustar)\
**Post date:** [September 19, 2017, 2:39pm UTC](https://forum.playcanvas.com/t/event-touchend-and-event-mouseup-difference/4883/2 "2017-09-19T14:39:33Z")

</div>

Look at `touchEvent.changedTouches` [https://developer.playcanvas.com/en/api/pc.TouchEvent.html#changedTouches](https://developer.playcanvas.com/en/api/pc.TouchEvent.html#changedTouches)
