API Reference › Sprite › Sprite.draw
method

Sprite.draw

Sprite.draw(id, x, y)

Draws atlas sprite id with its top-left at (x, y). Sufficiently-opaque pixels are drawn through rt_put_px, so the camera, zoom and clip apply exactly like Screen.sprite.

← All symbols