# \#tcanvas

**URL:** https://community.thunkable.com/tag/tcanvas/413.md

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

---

## [Hiding Sprites on Canvas not working?](https://community.thunkable.com/t/hiding-sprites-on-canvas-not-working/297856)

<div class="topic-metadata">

**Author:** [@ann.rootb8m34j](https://community.thunkable.com/u/ann.rootb8m34j)\
**Replies:** 7\
**Last updated:** [March 27, 2024, 11:21am UTC](https://community.thunkable.com/t/hiding-sprites-on-canvas-not-working/297856 "2024-03-27T11:21:28Z")

</div>

Hello, I have a student who would like to hide different sprites depending upon settings read from a data base. This code isn’t working although we have verified that the value from the data base is correct and the i…

---

## [The canvas sprite being disappear](https://community.thunkable.com/t/the-canvas-sprite-being-disappear/226652)

<div class="topic-metadata">

**Author:** [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 11:45am UTC](https://community.thunkable.com/t/the-canvas-sprite-being-disappear/226652 "2022-06-19T11:45:48Z")

</div>

Hi there, When I tried to set the canvas’s ignore gravity to false and set it draggable. I tried to drag the sprite to the live testing top bar and it no longer appears even I re-live test the app or re-download the ap…

---

## [Setting gravity to 0 doesn't stop the sprite from moving](https://community.thunkable.com/t/setting-gravity-to-0-doesnt-stop-the-sprite-from-moving/563255)

<div class="topic-metadata">

**Author:** [@bramgrooten](https://community.thunkable.com/u/bramgrooten)\
**Replies:** 2\
**Last updated:** [December 27, 2021, 11:36pm UTC](https://community.thunkable.com/t/setting-gravity-to-0-doesnt-stop-the-sprite-from-moving/563255 "2021-12-27T23:36:36Z")

</div>

I’m trying to make Flappy Bird. See the link here: https://x.thunkable.com/copy/c9c8be83f70708bb53eb1fb7c048a19b When there is a collision, I want the game to freeze, so I made a function for that. However, the bird som…

---

## [Bounce Not Working Correctly? Creating Pong](https://community.thunkable.com/t/bounce-not-working-correctly-creating-pong/394532)

<div class="topic-metadata">

**Author:** [@brad.strassburger](https://community.thunkable.com/u/brad.strassburger)\
**Replies:** 5\
**Last updated:** [August 10, 2021, 6:02am UTC](https://community.thunkable.com/t/bounce-not-working-correctly-creating-pong/394532 "2021-08-10T06:02:01Z")

</div>

I am having a weird issue with sprites. I have a canvas and two sprites (I am creating a simple pong game). One sprite is a ball the other is a paddle. When the ball is in motion it bounces off of the walls perfectly, ho…

---

## [Is it possible to add an eraser/rubber to paint/drawing app?](https://community.thunkable.com/t/is-it-possible-to-add-an-eraser-rubber-to-paint-drawing-app/563392)

<div class="topic-metadata">

**Author:** [@poutramo92u](https://community.thunkable.com/u/poutramo92u)\
**Replies:** 1\
**Last updated:** [August 7, 2021, 8:45am UTC](https://community.thunkable.com/t/is-it-possible-to-add-an-eraser-rubber-to-paint-drawing-app/563392 "2021-08-07T08:45:31Z")

</div>

Hi, My kids are playing Dungeons and Dragons. I’d like to create a simple app that allows them to load a map image and then slowly uncover it as the players explore the map (removing the ‘fog’). My thoughts on this ar…

---

## [\[Solved\] How do I Send a Sprite Backwards? (Behind another sprite)](https://community.thunkable.com/t/solved-how-do-i-send-a-sprite-backwards-behind-another-sprite/1409413)

<div class="topic-metadata">

**Author:** [@jonathonschnoor6x4b5](https://community.thunkable.com/u/jonathonschnoor6x4b5)\
**Replies:** 2\
**Last updated:** [July 23, 2021, 2:56pm UTC](https://community.thunkable.com/t/solved-how-do-i-send-a-sprite-backwards-behind-another-sprite/1409413 "2021-07-23T14:56:03Z")

</div>

Hey, so i’ve been working on a game for a while now. I wanted to add an island for the enemies to be on (both are sprites). I added the enemies first, though, so the island appears to be above them in layers. I couldn’…

---

## [Set a sprite at half the width of the screen or canvas or stage](https://community.thunkable.com/t/set-a-sprite-at-half-the-width-of-the-screen-or-canvas-or-stage/450069)

<div class="topic-metadata">

**Author:** [@overshield](https://community.thunkable.com/u/overshield)\
**Replies:** 6\
**Last updated:** [May 13, 2021, 7:37pm UTC](https://community.thunkable.com/t/set-a-sprite-at-half-the-width-of-the-screen-or-canvas-or-stage/450069 "2021-05-13T19:37:31Z")

</div>

When I move Sprite 1 to X ScreenWidth / 2 & Y ScreenWidth / 2 it’s not at all in the middle of the screen. If I create a label to get the canvas width the label displays “Fill Container” which makes sense bc that’s the …

---

## [Canvas get width returns "fill container" instead of a number](https://community.thunkable.com/t/canvas-get-width-returns-fill-container-instead-of-a-number/234948)

<div class="topic-metadata">

**Author:** [@ann.rootb8m34j](https://community.thunkable.com/u/ann.rootb8m34j)\
**Replies:** 4\
**Last updated:** [May 13, 2021, 4:40pm UTC](https://community.thunkable.com/t/canvas-get-width-returns-fill-container-instead-of-a-number/234948 "2021-05-13T16:40:19Z")

</div>

Hello, I am using the canvas and want to get the width of it to determine where to randomly place a sprite. However, the get width method returns the string “fill container” when I run it on my phone. I would assume…

---

## [How do I use the canvas component?](https://community.thunkable.com/t/how-do-i-use-the-canvas-component/220301)

<div class="topic-metadata">

**Author:** [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Replies:** 5\
**Last updated:** [February 12, 2021, 7:36pm UTC](https://community.thunkable.com/t/how-do-i-use-the-canvas-component/220301 "2021-02-12T19:36:57Z")

</div>

A thunker who did not have used Thunkable Classic before and I feel confused. Go to check the docs.

---

## [\[Solved\] Question about shadow blocks on the Canvas](https://community.thunkable.com/t/solved-question-about-shadow-blocks-on-the-canvas/1076265)

<div class="topic-metadata">

**Author:** [@hoch.academydhj7](https://community.thunkable.com/u/hoch.academydhj7)\
**Replies:** 4\
**Last updated:** [January 31, 2021, 4:43am UTC](https://community.thunkable.com/t/solved-question-about-shadow-blocks-on-the-canvas/1076265 "2021-01-31T04:43:06Z")

</div>

Does someone know why is this happening?? I’m making a metal detector app using the canvas to make it graphical. in order to show the result from the magnetometer I use a canvas label. Everything was working fine b…

---

## [Two questions about sprites](https://community.thunkable.com/t/two-questions-about-sprites/224996)

<div class="topic-metadata">

**Author:** [@approeduc](https://community.thunkable.com/u/approeduc)\
**Replies:** 16\
**Last updated:** [January 8, 2021, 9:56pm UTC](https://community.thunkable.com/t/two-questions-about-sprites/224996 "2021-01-08T21:56:46Z")

</div>

When I create one sprite in Design mode, I see two sprites in the working app. What is my mistake? When I try to reflect a sprite at the edges without activating bounce (!) but by calculating the new angle of move…

---

## [Canvas bigger than screen?](https://community.thunkable.com/t/canvas-bigger-than-screen/520392)

<div class="topic-metadata">

**Author:** [@abytea](https://community.thunkable.com/u/abytea)\
**Replies:** 2\
**Last updated:** [January 5, 2021, 7:52pm UTC](https://community.thunkable.com/t/canvas-bigger-than-screen/520392 "2021-01-05T19:52:59Z")

</div>

Hi there, I would like to have sprites come close to the edges and also be able to leave the screen. Up to now when I counted the x value up to the canvas.width and went further, the sprite started to shiver and then …

---

## [How can i make sprite in canvas to draggable only in x axis?](https://community.thunkable.com/t/how-can-i-make-sprite-in-canvas-to-draggable-only-in-x-axis/543895)

<div class="topic-metadata">

**Author:** [@shemanta.bhattarai18](https://community.thunkable.com/u/shemanta.bhattarai18)\
**Replies:** 2\
**Last updated:** [December 22, 2020, 2:46pm UTC](https://community.thunkable.com/t/how-can-i-make-sprite-in-canvas-to-draggable-only-in-x-axis/543895 "2020-12-22T14:46:04Z")

</div>

I want my sprite to be dragged only in x axis where it is set. When i set it to draggable, i can drag it any where in a screen. But i want to drag it only from left to right and right to left but not up and down.

---

## [Canvas not appearing on the android download](https://community.thunkable.com/t/canvas-not-appearing-on-the-android-download/944381)

<div class="topic-metadata">

**Author:** [@naturalsilksarees14](https://community.thunkable.com/u/naturalsilksarees14)\
**Replies:** 1\
**Last updated:** [November 9, 2020, 9:37pm UTC](https://community.thunkable.com/t/canvas-not-appearing-on-the-android-download/944381 "2020-11-09T21:37:09Z")

</div>

The project name is’’ Beginner with the link - https://x.thunkable.com/copy/3bf4ce4f035a0b18bf3166d07107fa70. The canvas is operational in the preview and web version, whereas it is not getting displayed in the downloa…

---

## [Change canvas background image with blocks?](https://community.thunkable.com/t/change-canvas-background-image-with-blocks/564230)

<div class="topic-metadata">

**Author:** [@Ironchorch\_Yo](https://community.thunkable.com/u/Ironchorch_Yo)\
**Replies:** 5\
**Last updated:** [August 31, 2020, 10:47pm UTC](https://community.thunkable.com/t/change-canvas-background-image-with-blocks/564230 "2020-08-31T22:47:38Z")

</div>

Is it possible to change the canvas background image with blocks? If not, will it be eventually possible? Another approach for this would be making the canvas background transparent, but it is not working on my case. Is…

---

## [Wow, PDF Reader & Canvas!](https://community.thunkable.com/t/wow-pdf-reader-canvas/219609)

<div class="topic-metadata">

**Author:** [@jamesluck248oqng95](https://community.thunkable.com/u/jamesluck248oqng95)\
**Replies:** 4\
**Last updated:** [August 4, 2020, 4:40pm UTC](https://community.thunkable.com/t/wow-pdf-reader-canvas/219609 "2020-08-04T16:40:57Z")

</div>

Finally :rofl: Thunkable X is catching up Thunkable Classic :grinning: Btw, the date input and time input are pretty cool; can we add the calendar icon to the date input UI?

---

## [Fun Jumping Game](https://community.thunkable.com/t/fun-jumping-game/564090)

<div class="topic-metadata">

**Author:** [@shadowreaper12](https://community.thunkable.com/u/shadowreaper12)\
**Replies:** 1\
**Last updated:** [July 3, 2020, 11:07am UTC](https://community.thunkable.com/t/fun-jumping-game/564090 "2020-07-03T11:07:18Z")

</div>

I want to create a jumping game where the screen scrolls vertically instead of the “Mario” side-scrolling. How do I change the code to where the player moves jumps up as well as the screen in order to complete the level? …

---

## [Fixing screen height block](https://community.thunkable.com/t/fixing-screen-height-block/458825)

<div class="topic-metadata">

**Author:** [@sysads](https://community.thunkable.com/u/sysads)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 2:07pm UTC](https://community.thunkable.com/t/fixing-screen-height-block/458825 "2020-05-15T14:07:33Z")

</div>

I am creating a sprite and placing it on the screen at a specified location. As seen in code below, sprite is supposed to be placed in the center of the screen but for unknown reason, the Y axis positioning is not correc…

---

## [\[Solved\] Does Canvas loading nead wifi connection?](https://community.thunkable.com/t/solved-does-canvas-loading-nead-wifi-connection/565446)

<div class="topic-metadata">

**Author:** [@H\_i\_CH\_n\_Nguy\_n](https://community.thunkable.com/u/H_i_CH_n_Nguy_n)\
**Replies:** 6\
**Last updated:** [May 14, 2020, 8:01am UTC](https://community.thunkable.com/t/solved-does-canvas-loading-nead-wifi-connection/565446 "2020-05-14T08:01:12Z")

</div>

I built a simple game that use a canvas to drag and drop sprites on the stage. When I download and install it as apk file on my Android 10 device a problem happened : when turn on wifi, every thing worked well but when u…

---

## [\[Solved\] Problem regarding the removal of sprites](https://community.thunkable.com/t/solved-problem-regarding-the-removal-of-sprites/565033)

<div class="topic-metadata">

**Author:** [@michael.wulfers4ylq9](https://community.thunkable.com/u/michael.wulfers4ylq9)\
**Replies:** 2\
**Last updated:** [May 8, 2020, 1:00pm UTC](https://community.thunkable.com/t/solved-problem-regarding-the-removal-of-sprites/565033 "2020-05-08T13:00:34Z")

</div>

Hello, I have a problem and I hope you will be able to help me with it. Whenever I click “aim” the programm seems to skip the “remove all sprites in fail” command, which eventually ends in an overflow of sprites. If I …

---

## [Question about Sprite Collisions](https://community.thunkable.com/t/question-about-sprite-collisions/238908)

<div class="topic-metadata">

**Author:** [@debbie\_w](https://community.thunkable.com/u/debbie_w)\
**Replies:** 7\
**Last updated:** [April 15, 2020, 7:16am UTC](https://community.thunkable.com/t/question-about-sprite-collisions/238908 "2020-04-15T07:16:20Z")

</div>

I am trying to make my own maze game like the one found on the documentation Gaming section. (https://x.thunkable.com/projects/5d841c3942b03968327aa3b9/23cdf6a7-4c61-46d5-ae84-810e7ba9e3d4/designer) I am not very experi…

---

## [\[Solved\] Canvas move sprites up and down](https://community.thunkable.com/t/solved-canvas-move-sprites-up-and-down/310390)

<div class="topic-metadata">

**Author:** [@Sofia](https://community.thunkable.com/u/Sofia)\
**Replies:** 7\
**Last updated:** [February 28, 2020, 7:04pm UTC](https://community.thunkable.com/t/solved-canvas-move-sprites-up-and-down/310390 "2020-02-28T19:04:52Z")

</div>

Hello! I’ve noticed that when creating a canvas you can’t move the sprites up and down, I wanted to know where I can suggest this improvement? Whenever you’re adding sprites the items that are at the bottom will show i…

---

## [Long touch down block](https://community.thunkable.com/t/long-touch-down-block/484268)

<div class="topic-metadata">

**Author:** [@sysads](https://community.thunkable.com/u/sysads)\
**Replies:** 1\
**Last updated:** [February 27, 2020, 5:09pm UTC](https://community.thunkable.com/t/long-touch-down-block/484268 "2020-02-27T17:09:37Z")

</div>

I was wondering how I can achieve touching down on the canvas so the object is spawned constantly until I release my finger. At the moment, the block “when pointer is down on canvas” is same as just clicking on a button…

---

## [Edit the Z order of images on a canvas in thunkable X](https://community.thunkable.com/t/edit-the-z-order-of-images-on-a-canvas-in-thunkable-x/482635)

<div class="topic-metadata">

**Author:** [@lackmey](https://community.thunkable.com/u/lackmey)\
**Replies:** 1\
**Last updated:** [February 25, 2020, 12:11am UTC](https://community.thunkable.com/t/edit-the-z-order-of-images-on-a-canvas-in-thunkable-x/482635 "2020-02-25T00:11:19Z")

</div>

Hi all. I want to make something so that one images goes under another one, as in one image appearing on top of another, not the y axis. Is there any way i can do this? thanks!

---

## [Stop object going off canvas](https://community.thunkable.com/t/stop-object-going-off-canvas/468770)

<div class="topic-metadata">

**Author:** [@sysads](https://community.thunkable.com/u/sysads)\
**Replies:** 1\
**Last updated:** [February 24, 2020, 4:03pm UTC](https://community.thunkable.com/t/stop-object-going-off-canvas/468770 "2020-02-24T16:03:45Z")

</div>

On canvas, why do objects go off screen if you are dragging them around?

---

## [Why doesn't my app create any sprites?](https://community.thunkable.com/t/why-doesnt-my-app-create-any-sprites/451341)

<div class="topic-metadata">

**Author:** [@michael.wulfers4ylq9](https://community.thunkable.com/u/michael.wulfers4ylq9)\
**Replies:** 3\
**Last updated:** [February 20, 2020, 6:12am UTC](https://community.thunkable.com/t/why-doesnt-my-app-create-any-sprites/451341 "2020-02-20T06:12:29Z")

</div>

Lately I’ve been trying to create a little game but for some reason the app - while previously working - doesn’t create any sprites. I solely moved one of these “when game opens”-bracets a tiny bit. The only thing th…

---

## [Draw a Line between two sprites](https://community.thunkable.com/t/draw-a-line-between-two-sprites/361381)

<div class="topic-metadata">

**Author:** [@Chanda\_Simfukwe](https://community.thunkable.com/u/Chanda_Simfukwe)\
**Replies:** 10\
**Last updated:** [December 12, 2019, 2:30pm UTC](https://community.thunkable.com/t/draw-a-line-between-two-sprites/361381 "2019-12-12T14:30:53Z")

</div>

Any method I can use to draw a line between two sprites located on different points? in Thunkable X canvas. Thanks

---

## [Sprite speed problem](https://community.thunkable.com/t/sprite-speed-problem/352082)

<div class="topic-metadata">

**Author:** [@txlim96](https://community.thunkable.com/u/txlim96)\
**Replies:** 6\
**Last updated:** [December 5, 2019, 7:53pm UTC](https://community.thunkable.com/t/sprite-speed-problem/352082 "2019-12-05T19:53:44Z")

</div>

Hi guys, I’m building an app that has an effect like a slot machine, but I used multiple sprites as the moving object. I set the speed for all sprites to be the same, but after running some time, the coordinates of the s…

---

## [\[Solved\] Click twice to rotate sprite](https://community.thunkable.com/t/solved-click-twice-to-rotate-sprite/329062)

<div class="topic-metadata">

**Author:** [@txlim96](https://community.thunkable.com/u/txlim96)\
**Replies:** 4\
**Last updated:** [December 5, 2019, 9:06am UTC](https://community.thunkable.com/t/solved-click-twice-to-rotate-sprite/329062 "2019-12-05T09:06:07Z")

</div>

Hi guys, I’m sorry if there is an existing topic regarding this issue, but I couldn’t find any similar problem in the forum. I’m building a spin wheel, which will spin for one revolution whenever the user presses the im…

---

## [Canvas hitbox problem](https://community.thunkable.com/t/canvas-hitbox-problem/327062)

<div class="topic-metadata">

**Author:** [@BlueWhaleYT](https://community.thunkable.com/u/BlueWhaleYT)\
**Replies:** 16\
**Last updated:** [November 19, 2019, 12:09pm UTC](https://community.thunkable.com/t/canvas-hitbox-problem/327062 "2019-11-19T12:09:58Z")

</div>

Hi there, I gotta to make a game called “Ball”,which a simple game controlling the ball to move to shoot these basic action. Yesterday,I have been tried to use Ready Maker to do what I expected,but that is quite diffic…

[Next page](https://community.thunkable.com/tag/tcanvas/413.md?match_all_tags=true&page=1&tags%5B%5D=tcanvas)
