What is the dimensions of a picture if you want to make a sprite full screen as a background
That depends on the device you’re using. You can always do a print(WIDTH,HEIGHT) to get the dimensions.
Set the width and height of a sprite to the built-in variables, WIDTH
and HEIGHT
.
sprite("Cargo Bot:Codea Icon", WIDTH / 2, HEIGHT / 2, WIDTH, HEIGHT)
Edit: dave got it while I was typing.