# Detect when a sprite has been released

**URL:** <https://community.thunkable.com/t/detect-when-a-sprite-has-been-released/1279321>\
**Category:** Questions about Thunkable X\
**Created:** [May 12, 2021, 5:54pm UTC](https://community.thunkable.com/t/detect-when-a-sprite-has-been-released/1279321 "2021-05-12T17:54:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 12, 2021, 5:54pm UTC](https://community.thunkable.com/t/detect-when-a-sprite-has-been-released/1279321/1 "2021-05-12T17:54:38Z")

</div>

I have a student who wants to detect when a sprite in a canvas is dragged and released. There’s a “click” event and a “pointer down” event but no “pointer up” or “touch up” event.

Is there some clever way to determine this? My student is making a jigsaw puzzle game and wants the puzzle pieces to snap to grid when released. I’m helping her with the math for snap-to-grid but failing to find a way to create an event for that.

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [May 12, 2021, 6:07pm UTC](https://community.thunkable.com/t/detect-when-a-sprite-has-been-released/1279321/2 "2021-05-12T18:07:16Z")

</div>

Turns out there is a block for this:

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/7/4790b21146555422d6bc506c52947854021ac8e6.png)

It would be nice if the event name matched the button/image event names (e.g. “touch up”).

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:22pm UTC](https://community.thunkable.com/t/detect-when-a-sprite-has-been-released/1279321/3 "2024-11-08T13:22:35Z")

</div>


