# Ein Objekt (sprite) in canvas mit dem Finger bewegen

**URL:** <https://community.thunkable.com/t/ein-objekt-sprite-in-canvas-mit-dem-finger-bewegen/1860497>\
**Category:** Questions about Thunkable X\
**Tags:** canvas, sprite\
**Created:** [May 3, 2022, 7:23pm UTC](https://community.thunkable.com/t/ein-objekt-sprite-in-canvas-mit-dem-finger-bewegen/1860497 "2022-05-03T19:23:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![haiflosse15](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@haiflosse15](https://community.thunkable.com/u/haiflosse15)\
**Post date:** [May 3, 2022, 7:23pm UTC](https://community.thunkable.com/t/ein-objekt-sprite-in-canvas-mit-dem-finger-bewegen/1860497/1 "2022-05-03T19:23:39Z")

</div>

Hallo!  
Ich habe ein Canvas mit einem sprite und möchte dieses mit dem Finger in eine Richtung bewegen um ein anderes Objekt abzuschießen.  
Daher wollte ich fragen, wie ich dies durchführen könnte.  
Vielen Dank für jede Antwort

---

<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 3, 2022, 7:58pm UTC](https://community.thunkable.com/t/ein-objekt-sprite-in-canvas-mit-dem-finger-bewegen/1860497/2 "2022-05-03T19:58:09Z")

</div>

Hello and welcome to Thunkable! I’m not sure how many people speak German on the forums so I hope you don’t mind that I translated your post into English:

> Hi!  
> I have a canvas with a sprite and I want to move it in one direction with my finger to shoot another object.  
> So I wanted to ask how I could do this.  
> Thanks for any reply

---

<div class="post-metadata">

**Author:** ![haiflosse15](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@haiflosse15](https://community.thunkable.com/u/haiflosse15)\
**Post date:** [May 3, 2022, 8:47pm UTC](https://community.thunkable.com/t/ein-objekt-sprite-in-canvas-mit-dem-finger-bewegen/1860497/3 "2022-05-03T20:47:06Z")

</div>

Thanks a lot for your answer.  
I try the following idea:

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/1/0132c5039442cff519c68ee867d8ab7a70f69afc.png)

it will works but maybe there will exist an better solution especially when the sprite will touch an edge.  
kindly regards

---

<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 3, 2022, 10:11pm UTC](https://community.thunkable.com/t/ein-objekt-sprite-in-canvas-mit-dem-finger-bewegen/1860497/4 "2022-05-03T22:11:19Z")

</div>

That looks good. I don’t have a suggestion for what to do about edges.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [August 1, 2022, 10:11pm UTC](https://community.thunkable.com/t/ein-objekt-sprite-in-canvas-mit-dem-finger-bewegen/1860497/5 "2022-08-01T22:11:38Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
