# Sprite Photo Editing

**URL:** <https://community.thunkable.com/t/sprite-photo-editing/591133>\
**Category:** Questions about Thunkable X\
**Tags:** canvas\
**Created:** [June 4, 2020, 12:58am UTC](https://community.thunkable.com/t/sprite-photo-editing/591133 "2020-06-04T00:58:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mythi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mythi/32/70585_2.png) [@mythi](https://community.thunkable.com/u/mythi)\
**Post date:** [June 4, 2020, 12:58am UTC](https://community.thunkable.com/t/sprite-photo-editing/591133/1 "2020-06-04T00:58:13Z")

</div>

Hello, for a game I am making I need to set a sprite’s photo to the background, so is there any block to be able to change the sprite picture similar to how you can change the background photo in a button but for sprites

Like this but for sprites?  
 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/4/8426eeeee552f8d4c7f76eede92db198bd435988.png)

Or is there an alternative? I need to be able to get the image of the canvas and have the sprite be in it.

Maybe I just completely missed it, but otherwise can some developers add it? 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:** [June 4, 2020, 7:45am UTC](https://community.thunkable.com/t/sprite-photo-editing/591133/2 "2020-06-04T07:45:04Z")

</div>

Hello,

scrCanvas for get image from canvas.

[https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/)

I don’t see a block for setting the sprite image

---

<div class="post-metadata">

**Author:** ![mythi](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/mythi/32/70585_2.png) [@mythi](https://community.thunkable.com/u/mythi)\
**Post date:** [June 4, 2020, 5:26pm UTC](https://community.thunkable.com/t/sprite-photo-editing/591133/3 "2020-06-04T17:26:37Z")

</div>

Hi @actech!

I was asking if I could change a sprite’s image using blocks. I wanted to set my sprite image to my background image but I could not find a block to change a sprite’s image.

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:** [June 5, 2020, 6:57am UTC](https://community.thunkable.com/t/sprite-photo-editing/591133/4 "2020-06-05T06:57:57Z")

</div>

Sorry for my incorrect answer, I corrected it. You can’t set an image for a sprite using blocks

> I need to be able to get the image of the canvas

You wrote this phrase, which is why I showed you a way to get an image from a canvas, which you can place, for example, on a button or Image

---

<div class="post-metadata">

**Author:** ![neutronic\_force7](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@neutronic\_force7](https://community.thunkable.com/u/neutronic_force7)\
**Post date:** [June 24, 2020, 7:47am UTC](https://community.thunkable.com/t/sprite-photo-editing/591133/5 "2020-06-24T07:47:03Z")

</div>

Hi, I am new to Thunkable and I have the same question. First of all, I would like to say that I am really liking Thunkable. It is great.

Regarding to mythi’s question I found myself in the same situation. I am trying to make a simple RPG game to test it out. I find myself in the following situation: I create a sprite for my character, another one for a monster and a third one for my weapon. I would like to add say 100 weapons to airtable with their images. The idea is that ocassionally I want to get a new weapon from such a database and replace the attributes in the variables (that I already managed to do) and the sprite corresponding to the weapon with the image of the new weapon (attachment in the airtable, which I already managed to get and replace in a simple Image). Later I would like to do the same for the monster’s sprite with that in a database.

My idea was to simply replace the sprite’s image with that of the image of the corresponding row (variable) in the database but I can’t. Isn’t this a huge drawback? I am really surprised that this feature is not implemented or perhaps there is something that I am doing wrong, so that is why I decided to post it and found this post. Am I supposed to create 100 sprites and only make one visible depending on the weapon? Perhaps I am doing something wrong? what is the best way to make something similar? Also, why can’t images be uploaded inside canvas? it is just “similar” to a static sprite and would somehow solve part of the problem…

Thanks in advance and sorry for the bad English.

---

<div class="post-metadata">

**Author:** ![livelaughcreate](https://avatars.discourse-cdn.com/v4/letter/l/4491bb/32.png) [@livelaughcreate](https://community.thunkable.com/u/livelaughcreate)\
**Post date:** [August 30, 2020, 9:51pm UTC](https://community.thunkable.com/t/sprite-photo-editing/591133/6 "2020-08-30T21:51:44Z")

</div>

I wanted to ask if there’s a way to use an image gallery and set a sprite to that image? In my app, the canvas is hidden on the screen until the user hits a button that gets the data from certain buttons and text inputs. Can you get an image from an image gallery and set it to a sprite?

---

<div class="post-metadata">

**Author:** ![renren66](https://avatars.discourse-cdn.com/v4/letter/r/34f0e0/32.png) [@renren66](https://community.thunkable.com/u/renren66)\
**Post date:** [August 31, 2020, 1:03am UTC](https://community.thunkable.com/t/sprite-photo-editing/591133/7 "2020-08-31T01:03:27Z")

</div>

You can add an image list inside the sprite type’s properties. When your sprite needs to switch the image, you can use the “set {sprite name} image number to {image number}” block or the “next image for {sprite name}” block inside the Looks section.

---

<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, 11:25am UTC](https://community.thunkable.com/t/sprite-photo-editing/591133/8 "2024-11-08T11:25:29Z")

</div>


