What's with this AI dude

i dont get it

2 Likes

did you define the variable in a different part of yr code? pls share more

1 Like

I think the Makecode debugger is kinda broken, and the AI has no idea what it’s talking about. If you share your project I can help figure it out. For now just make sure you didn’t use that variable anywhere else where it wasn’t a sprite, for example setting it to an image instead of using the “set (sprite) image (image)” block.

1 Like

welcome @aChessFanatic123 ! the error is your trying to set a sprite to a variable that is already an image. I can try to expand later if you need me to

1 Like

I think that the variable “myImage” is used as an image somewhere else in the code. In makecode, you cant use the same variable for multiple variable types

1 Like

Myimage does not correspond with a sprite. A sprite is a player an image is a picture or a color for a sprite. Also first post, welcome to the community @aChessFanatic123.

actually the error should be on the blue sprite block rather than the gray image block, which is weird