gfx.Sprite

Draw a screen-sized image to (0,0).

Syntax

gfx.Sprite(source, x, y, frame)

Parameters

  • source - The address of the sprite graphics.
  • x - Horizontal position of sprite.
  • y - Vertical position of sprite.
  • frame - Frame of sprite to draw.

Returns

This command returns no values.

About

This function is the only built-in function that doesn’t use gfx.Sprite for drawing. It performs a single block copy of the image, which is much faster than sprite drawing.