# How do I get the X and Y coords of a sprite?

**URL:** <https://community.thunkable.com/t/how-do-i-get-the-x-and-y-coords-of-a-sprite/224703>\
**Category:** Questions about Thunkable X\
**Tags:** tcanvas\
**Created:** [September 13, 2019, 8:01am UTC](https://community.thunkable.com/t/how-do-i-get-the-x-and-y-coords-of-a-sprite/224703 "2019-09-13T08:01:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Angelo\_Angius](https://avatars.discourse-cdn.com/v4/letter/a/d6d6ee/32.png) [@Angelo\_Angius](https://community.thunkable.com/u/Angelo_Angius)\
**Post date:** [September 13, 2019, 8:01am UTC](https://community.thunkable.com/t/how-do-i-get-the-x-and-y-coords-of-a-sprite/224703/1 "2019-09-13T08:01:08Z")

</div>

Hi, I would like to know inside the canvas you can get the x and y coordinates of the sprites. Thanks.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [September 13, 2019, 8:59am UTC](https://community.thunkable.com/t/how-do-i-get-the-x-and-y-coords-of-a-sprite/224703/2 "2019-09-13T08:59:53Z")

</div>

Hi,

Is this a question or are you telling us that you know how to do this and are ready to tell others about it?

---

<div class="post-metadata">

**Author:** ![paulmw](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@paulmw](https://community.thunkable.com/u/paulmw)\
**Post date:** [September 13, 2019, 9:19am UTC](https://community.thunkable.com/t/how-do-i-get-the-x-and-y-coords-of-a-sprite/224703/3 "2019-09-13T09:19:39Z")

</div>

You can use the ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/4/b/4bd5d470082460764c7ed7fc22e4c856fe5635cd.png) to get the x/y value of a sprite (in the Motion drawer). In this sample project, tap the screen to move the sprite and see it’s x/y position.

[https://x.thunkable.com/copy/facf6b596c65e107e629ebc7bd0045d4](https://x.thunkable.com/copy/facf6b596c65e107e629ebc7bd0045d4)

In the designer, if you click on the sprite, you can see it’s x/y in the properties panel on the right:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/8/18efb69009c6567c888a43b8359f92084f68e097.png)

---

<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, 12:09pm UTC](https://community.thunkable.com/t/how-do-i-get-the-x-and-y-coords-of-a-sprite/224703/4 "2024-11-08T12:09:04Z")

</div>


