screen Image

Get an image of everything displayed on the screen.

screen
JavaScript
function image.screenImage(): Image;
Python
def image.screen_image(): Image

Returns

  • an image of everything displayed on the screen.

Example

Place a cake sprite on the screen with a background color. When the A button is pressed, get the screen image and then destroy the cake sprite. Flip the image upside down and set it to the background.

screenscreenCapmySprite100screenset background image topausemsdestroyflipverticallysetscreenCaptoonAbuttonpressedPlayerspriteof kindsetmySpritetoon start

See also

set background image