# Sprite clones with different data

**URL:** <https://forum.makecode.com/t/sprite-clones-with-different-data/41410>\
**Category:** Help\
**Created:** [January 6, 2026, 10:00pm UTC](https://forum.makecode.com/t/sprite-clones-with-different-data/41410 "2026-01-06T22:00:36Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lilvince](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@Lilvince](https://forum.makecode.com/u/Lilvince)\
**Post date:** [January 6, 2026, 10:00pm UTC](https://forum.makecode.com/t/sprite-clones-with-different-data/41410/1 "2026-01-06T22:00:36Z")

</div>

Howdy! I’m trying to create a shop while using only 1 sprite for the items

Here’s the problem:

No matter what I try to do, it only uses the price data for the last item in the shop(I’m doing random prices).

I’ve tried using on created sprite and for element.

(Ik that’s not everything I could do, but it’s all that came to my mind when trying to fix the problem myself.)

---

<div class="post-metadata">

**Author:** ![redSprite](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/redsprite/32/34262_2.png) [@redSprite](https://forum.makecode.com/u/redSprite)\
**Post date:** [January 7, 2026, 1:20am UTC](https://forum.makecode.com/t/sprite-clones-with-different-data/41410/2 "2026-01-07T01:20:20Z")

</div>

Give us the link to your project so we can see it better.

---

<div class="post-metadata">

**Author:** ![WoofWoof](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/woofwoof/32/32523_2.png) [@WoofWoof](https://forum.makecode.com/u/WoofWoof)\
**Post date:** [January 7, 2026, 1:20am UTC](https://forum.makecode.com/t/sprite-clones-with-different-data/41410/3 "2026-01-07T01:20:22Z")

</div>

Could you share your code? I have too many theories on what the issue could be.

---

<div class="post-metadata">

**Author:** ![Air](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/air/32/26413_2.png) [@Air](https://forum.makecode.com/u/Air)\
**Post date:** [January 8, 2026, 5:52pm UTC](https://forum.makecode.com/t/sprite-clones-with-different-data/41410/4 "2026-01-08T17:52:55Z")

</div>

Can you give us the link???

---

<div class="post-metadata">

**Author:** ![miguelsanto17598-gli](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/miguelsanto17598-gli/32/35185_2.png) [@miguelsanto17598-gli](https://forum.makecode.com/u/miguelsanto17598-gli)\
**Post date:** [January 8, 2026, 6:55pm UTC](https://forum.makecode.com/t/sprite-clones-with-different-data/41410/5 "2026-01-08T18:55:01Z")

</div>

idk maybe on created sprite you arent using the “sprite” that’s on the block

is this what you are trying to do?

> **[test](https://arcade.makecode.com/S65280-66211-70561-84970)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

**Author:** ![Lilvince](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@Lilvince](https://forum.makecode.com/u/Lilvince)\
**Post date:** [January 8, 2026, 10:12pm UTC](https://forum.makecode.com/t/sprite-clones-with-different-data/41410/6 "2026-01-08T22:12:11Z")

</div>

RESOLVED!

The problem was me being stupid and forgetting to change “buyible” to “othersprite” in the overlap check..
