Unit 3 Lesson 11

I have a student that created sprites, used the drawSprites block just fine. Then he added a few shapes, no problems, now he wants to add another sprite and when he uses the drawSprites block it redraws the original sprites on top of the shapes. How does he add the new sprite without re drawing the original sprites?

your question is similar to this topic
in this occasion no block equivalent would solve it, however you can use the text mode for drawSprite to draw a specific sprite instead of all sprites here’s how you use it

var spr = createSprite(0,0);
spr.setAnimation("spr");
drawSprite(spr);

hope this answers your question

Varrience

1 Like

As the previous response suggests, you can use the undocumented drawSprite() command, but only in text mode. If you want to send us the shared link for your students’ project if that doesn’t work for you, we may be able to look at it and give you some other suggestions.

The drawSprites block will draw all sprites.

Mike