Sprite clones with different data

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.)

3 Likes

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

4 Likes

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

3 Likes

Can you give us the link???

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

is this what you are trying to do?

RESOLVED!

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

2 Likes