Background in Animation Library- Sizing

Hello! I am having an issue where choosing the background sprite from the animation library does not size correctly; it does not cover the entire 400x400 display area. It may only cover 1/4th of the display area, or it will stretch to the full 400x400 but will only show a portion of the image. How can I put the entire image into the full display area?

Hello Janel,

Make sure that your background sprite in the draw function is set to (200, 200).

For example:

function draw() {
var sprite = createSprite(200, 200);
sprite.setAnimation(“background”);
drawSprites();
}

If this doesn’t help then share your code so we can solve any further issues you may have.
Have an excellent day :slight_smile: