# Canvas / Gaming

**URL:** https://community.thunkable.com/c/thunkable/canvas/80.md

[Latest](https://community.thunkable.com/latest.md) · [Categories](https://community.thunkable.com/categories.md) · [Tags](https://community.thunkable.com/tags.md)

---

## [About the Canvas / Gaming category](https://community.thunkable.com/t/about-the-canvas-gaming-category/1876621)

<div class="topic-metadata">

**Author:** [@jared](https://community.thunkable.com/u/jared)\
**Replies:** 0\
**Last updated:** [May 15, 2022, 3:31am UTC](https://community.thunkable.com/t/about-the-canvas-gaming-category/1876621 "2022-05-15T03:31:49Z")

</div>

Please post your Canvas and Gaming related queries here! :slight\_smile: :ping\_pong: :badminton: :8ball: :game\_die:

---

## [How to create snake game (like the google one) in thunkable](https://community.thunkable.com/t/how-to-create-snake-game-like-the-google-one-in-thunkable/3387793)

<div class="topic-metadata">

**Author:** [@202042czkkze](https://community.thunkable.com/u/202042czkkze)\
**Replies:** 3\
**Last updated:** [May 9, 2026, 1:21pm UTC](https://community.thunkable.com/t/how-to-create-snake-game-like-the-google-one-in-thunkable/3387793 "2026-05-09T13:21:39Z")

</div>

How to create snake game (like the google one) in thunkable And also like bending the sprite when it turns

---

## [Paint app](https://community.thunkable.com/t/paint-app/4107723)

<div class="topic-metadata">

**Author:** [@aderomola.adedoyinjb](https://community.thunkable.com/u/aderomola.adedoyinjb)\
**Replies:** 1\
**Last updated:** [October 6, 2025, 5:31am UTC](https://community.thunkable.com/t/paint-app/4107723 "2025-10-06T05:31:10Z")

</div>

art stuff and painting

---

## [Saving a Canvas](https://community.thunkable.com/t/saving-a-canvas/3908042)

<div class="topic-metadata">

**Author:** [@shravani](https://community.thunkable.com/u/shravani)\
**Replies:** 3\
**Last updated:** [June 10, 2025, 4:30am UTC](https://community.thunkable.com/t/saving-a-canvas/3908042 "2025-06-10T04:30:17Z")

</div>

I created a Doodle app similar to the sample project. The users should be able to save the Drawing and it should be saved in a Database. And be able to view it again. Regards Darbe-Technovators

---

## [Creating a game user can drag and drop images in](https://community.thunkable.com/t/creating-a-game-user-can-drag-and-drop-images-in/3764709)

<div class="topic-metadata">

**Author:** [@jrwarshhzt8bj](https://community.thunkable.com/u/jrwarshhzt8bj)\
**Replies:** 0\
**Last updated:** [April 23, 2025, 6:02pm UTC](https://community.thunkable.com/t/creating-a-game-user-can-drag-and-drop-images-in/3764709 "2025-04-23T18:02:59Z")

</div>

Hi There, I am a new teacher to Thunkable and I have a student that wants to create a map game where you drag countries and drop them on the correct location on a map. I can’t seem to find any information on this

---

## [Connecting database Qusestions to text and answers](https://community.thunkable.com/t/connecting-database-qusestions-to-text-and-answers/3750911)

<div class="topic-metadata">

**Author:** [@hezicg.workqn113d](https://community.thunkable.com/u/hezicg.workqn113d)\
**Replies:** 1\
**Last updated:** [April 18, 2025, 2:34pm UTC](https://community.thunkable.com/t/connecting-database-qusestions-to-text-and-answers/3750911 "2025-04-18T14:34:33Z")

</div>

I’m building a card game in which I have 2 difficulty levels easy and hard, easy up to 50 points, hard 50 and above. (adding screenshots) I have a card that upon clicking it should “flip” from back to a random card (I …

---

## [Eraser on canvas](https://community.thunkable.com/t/eraser-on-canvas/3699814)

<div class="topic-metadata">

**Author:** [@hliban271qpxrb](https://community.thunkable.com/u/hliban271qpxrb)\
**Replies:** 1\
**Last updated:** [March 29, 2025, 8:30pm UTC](https://community.thunkable.com/t/eraser-on-canvas/3699814 "2025-03-29T20:30:46Z")

</div>

Hi! I am trying to make a feature for a school app with a canvas drawing, but I can’t seem to figure out how to add an eraser or some sort of undo button to erase/remove certain parts of the drawing. I can only do clear…

---

## [Canvas wont move past the left side of the screen](https://community.thunkable.com/t/canvas-wont-move-past-the-left-side-of-the-screen/3419212)

<div class="topic-metadata">

**Author:** [@4iamotakus8balp](https://community.thunkable.com/u/4iamotakus8balp)\
**Replies:** 1\
**Last updated:** [December 17, 2024, 9:56pm UTC](https://community.thunkable.com/t/canvas-wont-move-past-the-left-side-of-the-screen/3419212 "2024-12-17T21:56:29Z")

</div>

I am making a drawing app and using the scrolling feature interferes with the touch drawing when using the app on the phone. To solve this, I added buttons to move the canvas around however, the canvas wont move past the…

---

## [Scrolling interfering with drawing. Please Help](https://community.thunkable.com/t/scrolling-interfering-with-drawing-please-help/3410622)

<div class="topic-metadata">

**Author:** [@4iamotakus8balp](https://community.thunkable.com/u/4iamotakus8balp)\
**Replies:** 2\
**Last updated:** [December 13, 2024, 6:56pm UTC](https://community.thunkable.com/t/scrolling-interfering-with-drawing-please-help/3410622 "2024-12-13T18:56:07Z")

</div>

Im making a drawing app where you can zoom in/out and scroll. Well that all works on the web preview but when I try it on my phone, the touch screen scrolling and the drawing mess with each other so neither really work r…

---

## [How to code to made a random sprite appear](https://community.thunkable.com/t/how-to-code-to-made-a-random-sprite-appear/3387808)

<div class="topic-metadata">

**Author:** [@202042czkkze](https://community.thunkable.com/u/202042czkkze)\
**Replies:** 2\
**Last updated:** [December 11, 2024, 1:24am UTC](https://community.thunkable.com/t/how-to-code-to-made-a-random-sprite-appear/3387808 "2024-12-11T01:24:35Z")

</div>

How to code to made a random sprite appear

---

## [Sprite image not showing up](https://community.thunkable.com/t/sprite-image-not-showing-up/3357141)

<div class="topic-metadata">

**Author:** [@4iamotakus8balp](https://community.thunkable.com/u/4iamotakus8balp)\
**Replies:** 1\
**Last updated:** [November 22, 2024, 11:52pm UTC](https://community.thunkable.com/t/sprite-image-not-showing-up/3357141 "2024-11-22T23:52:51Z")

</div>

I am a beginner and am creating a coloring book app. To do this, when the canvas loads, I have a static sprite get created to show the image on top of the drawing area so you can color in the image without drawing over …

---

## [How many images can you add to a Sprite Type?](https://community.thunkable.com/t/how-many-images-can-you-add-to-a-sprite-type/3363043)

<div class="topic-metadata">

**Author:** [@4iamotakus8balp](https://community.thunkable.com/u/4iamotakus8balp)\
**Replies:** 0\
**Last updated:** [November 22, 2024, 8:29pm UTC](https://community.thunkable.com/t/how-many-images-can-you-add-to-a-sprite-type/3363043 "2024-11-22T20:29:02Z")

</div>

How Many Images can you add to a Sprite Type’s Image List?

---

## [Need HELP getting canvas to draw under an image](https://community.thunkable.com/t/need-help-getting-canvas-to-draw-under-an-image/3354327)

<div class="topic-metadata">

**Author:** [@4iamotakus8balp](https://community.thunkable.com/u/4iamotakus8balp)\
**Replies:** 3\
**Last updated:** [November 20, 2024, 3:07am UTC](https://community.thunkable.com/t/need-help-getting-canvas-to-draw-under-an-image/3354327 "2024-11-20T03:07:00Z")

</div>

Hello I am making a coloring book app and am having trouble with having the canvas draw under an image. I am trying to make it so you can color in the image. The canvas works fine by itself but if I try adding a transpa…

---

## [Is gaming possible on thunkable in easy way!?](https://community.thunkable.com/t/is-gaming-possible-on-thunkable-in-easy-way/2417850)

<div class="topic-metadata">

**Author:** [@hacker205](https://community.thunkable.com/u/hacker205)\
**Replies:** 2\
**Last updated:** [August 21, 2024, 3:11pm UTC](https://community.thunkable.com/t/is-gaming-possible-on-thunkable-in-easy-way/2417850 "2024-08-21T15:11:23Z")

</div>

Is gaming possible in thunkable in easy way!? Yes it is possible in hard way or like in pro but what if I want to make a very nice game in simple basic version? It’s kinda hard or maybe impossible… Gaming is possible but…

---

## [How to detect click event for Canvas component?](https://community.thunkable.com/t/how-to-detect-click-event-for-canvas-component/3133550)

<div class="topic-metadata">

**Author:** [@preetimomayaknbghw](https://community.thunkable.com/u/preetimomayaknbghw)\
**Replies:** 2\
**Last updated:** [August 10, 2024, 7:52am UTC](https://community.thunkable.com/t/how-to-detect-click-event-for-canvas-component/3133550 "2024-08-10T07:52:31Z")

</div>

I am making a smash the mole game in Thunkable. I have added a canvas and a mole sprite which is moving randomly on the canvas. If i am able to click the mole my Hit count increases but if i miss the mole that is i clic…

---

## [Can we add images to canvas using code](https://community.thunkable.com/t/can-we-add-images-to-canvas-using-code/3075683)

<div class="topic-metadata">

**Author:** [@johny.kantao9qoue](https://community.thunkable.com/u/johny.kantao9qoue)\
**Replies:** 3\
**Last updated:** [July 8, 2024, 3:26pm UTC](https://community.thunkable.com/t/can-we-add-images-to-canvas-using-code/3075683 "2024-07-08T15:26:27Z")

</div>

can we add Images the User gave and make it a background on Canvas?

---

## [How to make a sprite glide](https://community.thunkable.com/t/how-to-make-a-sprite-glide/3065357)

<div class="topic-metadata">

**Author:** [@marenyn](https://community.thunkable.com/u/marenyn)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 3:07am UTC](https://community.thunkable.com/t/how-to-make-a-sprite-glide/3065357 "2024-06-20T03:07:33Z")

</div>

I have searched and searched but can’t seem to find an updated way to make a sprite glide smoothly as it can in Scratch. I need both the x and y positions to be random. I can make my sprite move but it’s spotty. I’d l…

---

## [\[SOLVED\] Scratch card game](https://community.thunkable.com/t/solved-scratch-card-game/2930634)

<div class="topic-metadata">

**Author:** [@beatbaba7leb](https://community.thunkable.com/u/beatbaba7leb)\
**Replies:** 16\
**Last updated:** [May 7, 2024, 9:55am UTC](https://community.thunkable.com/t/solved-scratch-card-game/2930634 "2024-05-07T09:55:38Z")

</div>

Trying to build this simple game… The problem is I cannot treat drawing color to transparent can someone try to replicate or suggest me alternate solution. That is to erase the color

---

## [How to Create an Undo/Redo Button for Coloring/Drawing App?](https://community.thunkable.com/t/how-to-create-an-undo-redo-button-for-coloring-drawing-app/2585461)

<div class="topic-metadata">

**Author:** [@v6gvbpfpz95mbs](https://community.thunkable.com/u/v6gvbpfpz95mbs)\
**Replies:** 1\
**Last updated:** [April 16, 2024, 5:18am UTC](https://community.thunkable.com/t/how-to-create-an-undo-redo-button-for-coloring-drawing-app/2585461 "2024-04-16T05:18:40Z")

</div>

Hello! I’m a beginner, and I would like to say Thunkable is GREAT! I’ve been able to create everything I’ve needed to for my app using the docs and the community boards, but I’ve finally hit a problem I haven’t been able…

---

## [How to create a tutorial "first run" logic](https://community.thunkable.com/t/how-to-create-a-tutorial-first-run-logic/2835087)

<div class="topic-metadata">

**Author:** [@kikopaje00000b53v](https://community.thunkable.com/u/kikopaje00000b53v)\
**Replies:** 15\
**Last updated:** [March 18, 2024, 8:09am UTC](https://community.thunkable.com/t/how-to-create-a-tutorial-first-run-logic/2835087 "2024-03-18T08:09:50Z")

</div>

hi I hope any one can help me to my project, I have a Welcome screen, on the welcome screen I have a Home button I would like it to happen when the user presses the button for the first time it will go to the Introductio…

---

## [How to move multiple sprites one after another before completion of previous one?](https://community.thunkable.com/t/how-to-move-multiple-sprites-one-after-another-before-completion-of-previous-one/2893165)

<div class="topic-metadata">

**Author:** [@ushastaaichb](https://community.thunkable.com/u/ushastaaichb)\
**Replies:** 4\
**Last updated:** [March 15, 2024, 6:04pm UTC](https://community.thunkable.com/t/how-to-move-multiple-sprites-one-after-another-before-completion-of-previous-one/2893165 "2024-03-15T18:04:55Z")

</div>

Say, one sprite is moving and will take 8 sec to hit the edge/complete the motion. During its movement (in between 8 sec), say after 2 sec, how to move another sprite. I want to move another sprite before completion the …

---

## [\[SOLVED\]Code not working for game](https://community.thunkable.com/t/solved-code-not-working-for-game/2860560)

<div class="topic-metadata">

**Author:** [@783796sqnv](https://community.thunkable.com/u/783796sqnv)\
**Replies:** 6\
**Last updated:** [February 28, 2024, 2:36pm UTC](https://community.thunkable.com/t/solved-code-not-working-for-game/2860560 "2024-02-28T14:36:00Z")

</div>

Honestly im EXTREMELY confused. So im trying to make a rhythm game for a class, but the canvas wont even appear. Here’s my code, can someone tell me if somethings wrong with it?:

---

## [Object cannot move](https://community.thunkable.com/t/object-cannot-move/2834505)

<div class="topic-metadata">

**Author:** [@calipto7152](https://community.thunkable.com/u/calipto7152)\
**Replies:** 2\
**Last updated:** [February 15, 2024, 4:46pm UTC](https://community.thunkable.com/t/object-cannot-move/2834505 "2024-02-15T16:46:15Z")

</div>

so I made a shooting system, but when I clicked the shoot button the laser not moving it stuck. is there any mistake with my code.

---

## [\[Solved\] Get pointer position repeatedly while dragging (DD)](https://community.thunkable.com/t/solved-get-pointer-position-repeatedly-while-dragging-dd/2707820)

<div class="topic-metadata">

**Author:** [@leecitra](https://community.thunkable.com/u/leecitra)\
**Replies:** 4\
**Last updated:** [November 30, 2023, 6:42am UTC](https://community.thunkable.com/t/solved-get-pointer-position-repeatedly-while-dragging-dd/2707820 "2023-11-30T06:42:11Z")

</div>

Hello, iam new in thunkable and trying to migrate to drag and drop feature. Iam used to app inventor where we can get the pointer position while dragging on top of the canvas. I could not find an option while dragging e…

---

## [Sprite PNG Image appears black with a lime green line through it when testing "live test on device"](https://community.thunkable.com/t/sprite-png-image-appears-black-with-a-lime-green-line-through-it-when-testing-live-test-on-device/2585576)

<div class="topic-metadata">

**Author:** [@v6gvbpfpz95mbs](https://community.thunkable.com/u/v6gvbpfpz95mbs)\
**Replies:** 2\
**Last updated:** [September 14, 2023, 5:07am UTC](https://community.thunkable.com/t/sprite-png-image-appears-black-with-a-lime-green-line-through-it-when-testing-live-test-on-device/2585576 "2023-09-14T05:07:27Z")

</div>

Hi! I am creating a drawing/coloring app. I have created a canvas with a sprite that’s a PNG image. When I color on the app on my computer, I can see the image and color underneath the line work, but when I go to the tes…

---

## [Drawing a filled triangle](https://community.thunkable.com/t/drawing-a-filled-triangle/2563482)

<div class="topic-metadata">

**Author:** [@peterjamesleniq](https://community.thunkable.com/u/peterjamesleniq)\
**Replies:** 1\
**Last updated:** [August 27, 2023, 1:14am UTC](https://community.thunkable.com/t/drawing-a-filled-triangle/2563482 "2023-08-27T01:14:06Z")

</div>

Using the Looks: ‘draw a line’ feature, it is pretty easy to draw a triangle. But what about filling that triangle in with a color? Filling in can easily be done on circles and polygons though. I think the filled in f…

---

## [Stage problem - white screen?](https://community.thunkable.com/t/stage-problem-white-screen/1274501)

<div class="topic-metadata">

**Author:** [@catsarisky](https://community.thunkable.com/u/catsarisky)\
**Replies:** 42\
**Last updated:** [August 7, 2023, 5:44am UTC](https://community.thunkable.com/t/stage-problem-white-screen/1274501 "2023-08-07T05:44:36Z")

</div>

OK, I’m stumped. I had a game with a canvas, a stage, and a bunch of sprites. Everything looked good. Then suddenly the stage stopped appearing. I tried deleting and reinstalling Thunkable Live. I added a new canvas…

---

## [Canvas game project](https://community.thunkable.com/t/canvas-game-project/2525279)

<div class="topic-metadata">

**Author:** [@pratiwi.nurhayatiddy](https://community.thunkable.com/u/pratiwi.nurhayatiddy)\
**Replies:** 0\
**Last updated:** [July 30, 2023, 4:04am UTC](https://community.thunkable.com/t/canvas-game-project/2525279 "2023-07-30T04:04:34Z")

</div>

Hello mate, Could you please take a look with this project? I get this project from my friend. He said he can play the project but when I opened it, no one happen. Here’s the link Thunkable Thank you

---

## [How can you calculate the distance a sprite travels on a canvas?](https://community.thunkable.com/t/how-can-you-calculate-the-distance-a-sprite-travels-on-a-canvas/2508754)

<div class="topic-metadata">

**Author:** [@KaneoheKid](https://community.thunkable.com/u/KaneoheKid)\
**Replies:** 3\
**Last updated:** [July 20, 2023, 1:58pm UTC](https://community.thunkable.com/t/how-can-you-calculate-the-distance-a-sprite-travels-on-a-canvas/2508754 "2023-07-20T13:58:10Z")

</div>

For example, in a maze game, how can you calculate the distance that the sprite travels on the canvas from the start point to the end point? I see blocks for the sprite speed, but not distance.

---

## [Open AI created Images in Canvas](https://community.thunkable.com/t/open-ai-created-images-in-canvas/2497487)

<div class="topic-metadata">

**Author:** [@max.kivmannxev](https://community.thunkable.com/u/max.kivmannxev)\
**Replies:** 0\
**Last updated:** [July 7, 2023, 7:21am UTC](https://community.thunkable.com/t/open-ai-created-images-in-canvas/2497487 "2023-07-07T07:21:09Z")

</div>

I wanted to create a function that adds a Chat gpt generated image in a canvas, but i didn‘t found a block that can do this. Can someone help me?

[Next page](https://community.thunkable.com/c/thunkable/canvas/80.md?page=1)
