Could someone help with my code?

I’m trying to make is so that when the system detects when sprite image = image something will happen https://makecode.com/_hfwYai4H1PTT

2 Likes

wait i fixed it

I’m guessing you need the image comparing block in the Image tab, not the “=“ one.

you could do it that when you change your image it setschange to 1 and in a on game update you could add iff change = 1 it does somthing and in the on start you put set change to 0

1 Like

You are asking the wrong question. I would ask how to avoid comparing images? I would do something like this instead.

could I get the share link from that screenshot?