API Reference › Assets › Assets.image
method

Assets.image

Assets.image(path) -> int

Loads the image at path as a single atlas sprite the size of the image, returning its id — the namespaced replacement for a bare png_load. Draw it with Sprite.draw.

← All symbols